2013-06-28 85 views
2

正如标题所示,当用户按下图标启动它时,iOS应用程序的启动顺序是什么,以及在启动顺序期间,我自己的自定义类的二进制源是何时加载到内存中的,以及哪些对象在操作系统?iOS应用程序的启动顺序是什么?

+0

可能重复[当应用程序从后台恢复时执行什么方法](http://stackoverflow.com/questions/9509363/what-method-gets-executed-当应用程序从后台恢复时) –

回答

18

启动应用程序推向前台: -

enter image description here

启动应用程序到背景: - iOS中

enter image description here

更改应用国 -

enter image description here

你也可以参考苹果开发者Apple developer guideline for Application launching

+1

+1。但是,你称之为“在后台启动应用程序”? – rdurand

+0

苹果公司有关此主题的新链接:https://developer.apple.com/library/ios/documentation/iPhone/Conceptual/iPhoneOSProgrammingGuide/StrategiesforHandlingAppStateTransitions/StrategiesforHandlingAppStateTransitions.html – nzs