What is the Life Cycle of an iPhone application?

IosLifecycle

Ios Problem Overview


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

Ios Solutions


Solution 1 - Ios

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

Solution 2 - Ios

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

Solution 3 - Ios

There's another simpler one in ios developer's cookbook

enter image description here

Solution 4 - Ios

If you want to something more detail ,you can read the official document delivered by apple
It has been updated with iOS6.0
http://developer.apple.com/library/ios/#featuredarticles/ViewControllerPGforiPhoneOS/ViewLoadingandUnloading/ViewLoadingandUnloading.html

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionSantusura8View Question on Stackoverflow
Solution 1 - IosAliSoftwareView Answer on Stackoverflow
Solution 2 - IosswiftBoyView Answer on Stackoverflow
Solution 3 - IosHaiderView Answer on Stackoverflow
Solution 4 - IosandyqeeView Answer on Stackoverflow