Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the Life Cycle of an iPhone application? [closed]

Tags:

ios

lifecycle

Can anyone explain what is the life cycle process of iPhone? i.e from the start to end of the application life cycle.

like image 347
Santusura8 Avatar asked Jun 29 '11 11:06

Santusura8


People also ask

What is the lifecycle of an iOS app?

The application life cycle constitutes the sequence of events that occurs between the launch and termination of application. It is very important to understand for all the iOS Developers, who wants smooth user experience.

What is the life cycle of an app?

Typically, application lifecycle management characterizes itself in six stages: development, introduction, growth, maturity, saturation, and decline. The duration of these stages fully depends on the product or application itself, the complexity, and the fit in the market.

Do iOS apps expire?

So yes it will expire, and you will have to update the provisioning profile on your device. For this you will need an active developer account.

What is inactive state in iOS?

The app is running in the foreground but is currently not receiving events. (It may be executing other code though.) An app usually stays in this state only briefly as it transitions to a different state.


2 Answers

See also This post on Cocoanetics that present a very useful flowchart explaining the different calls to the AppDelegate methods during the app life cycle:

UIApplication Delegate messaging flowchart

like image 77
AliSoftware Avatar answered Sep 22 '22 15:09

AliSoftware


here is diagram image for understand Life Cycle (iPhone / Android)

enter image description here


Edit: Here is the more detailed information from Apple Docs.

Part 1:

enter image description here

Part 2:

enter image description here

Reference

Also this one is for View Controller Life Cycle methods

enter image description here

like image 21
swiftBoy Avatar answered Sep 24 '22 15:09

swiftBoy