What is the life cycle of an iPhone app?

Can anyone explain what the iPhone life cycle process is? that is, from the beginning to the end of the application life cycle.

+70
ios lifecycle
Jun 29. 2018-11-11T00:
source share
4 answers

See also This Cocoanetics post , which provides a very useful flow chart explaining various calls to AppDelegate methods throughout the application life cycle:

UIApplication Delegate messaging flowchart

+117
Jun 29 '11 at 11:41
source share

Here is an image of a chart for understanding the life cycle (iPhone / Android)

enter image description here




Edit: Here are more details from Apple Docs .

Part 1:

enter image description here

Part 2:

enter image description here

Link

This method is also intended for view controller lifecycle methods.

enter image description here

+95
Feb 01 '13 at
source share

There's another example in the ios developers cookbook

enter image description here

+17
Jan 16 '13 at 13:35
source share

If you want something in more detail, you can read the official document provided by apple
It is updated iOS6.0
http://developer.apple.com/library/ios/#featuredarticles/ViewControllerPGforiPhoneOS/ViewLoadingandUnloading/ViewLoadingandUnloading.html

+2
Sep 23
source share



All Articles