Ios App Life Cycle States

While in this state the app is unable to receive notifications.
Ios app life cycle states. As an app moves through the states of its lifecycle the state of the app is defined by its level of activity such as not running active or suspended. These states are known as state s of application lifecycle. In ios 12 and earlier and in apps that don t support scenes uikit delivers all lifecycle events to the uiapplicationdelegate object.
When the user just turned on his phone no applications are running except those that are belong to the operating system. Each has their own limitations. When ios app life cycle state changing the related method in appdelegate class will be invoked.
The current state of your app determines what it can and cannot do at any time. This makes sense as we move from not running we transition to active through an inactive state and it would not make sense to get notifications during these transactions as it. An application which is written in ios framework have to traverse through multiple states as it runs.
If you enable scene support in your app ios always uses your scene delegates in ios 13 and later. Uiapplicationdelegate is a protocol that your app has to implement. In ios 12 and earlier use the uiapplication delegate object to respond to life cycle events.
How the application starts. Application life cycle is very important to understand for all the ios developers who want to make enriched immersive and smooth user experience. This post talks about the five execution states of an ios app not running suspended background inactive and active.
When the application is started and initialized below method will be invoked and the root view controller is instantiated at this stage. Application lifecycle helps to understand overall app behaviour. After launch the system puts the app into the inactive state if the app is in the process of displaying the ui on the screen.