Five states of iOS should be shipped programs are converted from Apple's official documents
5 Status:
Not running |
The app has not been launched or is running but is terminated by the system. |
Inactive |
The app is running in the foreground it's currently not receiving events. (It May is executing other code though.) An app usually stays in this state is briefly as it transitions to a different state. |
Active |
The app is running in the foreground and is receiving events. This is the normal mode for foreground apps. |
Background |
The app is in the background and executing code. Most apps enter the briefly on their-being suspended. However, an app, the requests extra execution time may remain in this state for a period of time. In addition, an app being launched directly to the background enters this state instead of the inactive state. For information the what to execute code while in the background, see "background execution and multitasking." |
Suspended |
The app is in the background, but isn't executing code. The system moves apps to this state automatically and does not notify them before doing so. While suspended, a app remains in memory but does not execute any code. When a low-memory condition occurs, the system could purge suspended apps without notice to make more space for the Foregrou nd app. |
5 transition diagram of the state: