Each iOS app is composed of at least the following parts:
Source: Apple
State | Description |
---|---|
Not running | The application has not been launched or was running but was terminated by the system |
Inactive | The application is running in the foreground but is currently not receiving events |
Active | The application is running in the foreground and is receiving events. |
Background | The application is in the background and executing code (only iOS > v.4) |
Suspended | The application is in the background but is not executing code (only iOS > v.4) |
Source: Apple
Source: Apple
beginBackgroundTaskWithExpirationHandler()
within applicationDidEnterBackground()