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

与世无争的帅哥 提交于 2019-11-26 08:39:18

问题


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


回答1:


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:




回答2:


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


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

Part 1:

Part 2:

Reference

Also this one is for View Controller Life Cycle methods




回答3:


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




回答4:


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



来源:https://stackoverflow.com/questions/6519847/what-is-the-life-cycle-of-an-iphone-application

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!