0 votes
11 views

Explain application life cycle or application states.

in Technology by (189k points)

1 Answer

0 votes

These states are known as states of the app’s lifecycle. 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.

Here’s more information about the states:

-When an app is in the Not Running state, either the app hasn’t been launched or the system shut it down.

-When an app starts, it transitions through a short state, called the Inactive state. It’s actually running, but it’s performing other functions and isn’t ready to accept user input or events.

-An app in an Active state is running in the foreground and receiving events. This is the normal mode for foreground apps — apps that don’t have to run in the background without a user interface.

-When an app is in the Background state, its user interface isn’t visible, but it is running. Most apps transition through this state on their way to being suspended.

-An app may need (and request) extra execution time and may stay in this state for a time. In addition, certain apps run in the background. Such an app enters the Background state directly and doesn’t go through the Inactive state.

-The iOS system may move an app to a Suspended state. Here the app is in the background but is not running code. It does stay in memory, though. If a low-memory condition occurs, the system may purge apps in the suspended state without notice. Note that, according to Apple’s standards, only the iOS system can kill an app.

by (189k points)

Related questions

0 votes
1 answer 23 views
23 views asked Dec 8, 2020 in Technology by JackTerrance (189k points)
0 votes
1 answer 18 views
0 votes
1 answer 117 views
0 votes
1 answer 25 views
0 votes
1 answer 16 views
0 votes
1 answer 17 views
0 votes
1 answer 69 views
0 votes
0 answers 78 views
0 votes
1 answer 1.4k views
0 votes
1 answer 16 views
16 views asked Jan 24 in Technology by JackTerrance (189k points)
0 votes
1 answer 19 views
19 views asked Nov 7, 2020 in Technology by JackTerrance (189k points)
0 votes
1 answer 22 views
22 views asked Nov 7, 2020 in Technology by JackTerrance (189k points)
0 votes
1 answer 21 views
21 views asked Nov 7, 2020 in Technology by JackTerrance (189k points)
0 votes
1 answer 13 views
13 views asked Nov 7, 2020 in Technology by JackTerrance (189k points)
0 votes
1 answer 20 views
20 views asked Nov 7, 2020 in Technology by JackTerrance (189k points)
0 votes
1 answer 52 views
52 views asked Nov 7, 2020 in Technology by JackTerrance (189k points)
...