When do the appdelegate methods get called in relation to the view lifecycle methods of your initial view controller? [closed]

孤街浪徒 提交于 2019-11-27 11:00:51

问题


What is the sequence of methods that get called when your app loads, especially for these methods:

  • applicationDidFinishLaunching
  • viewDidLoad
  • viewWillAppear
  • applicationDidBecomeActive
  • awakeFromNib

回答1:


U could checkout this site http://www.cocoanetics.com/2010/07/understanding-ios-4-backgrounding-and-delegate-messaging/ & this flow chart of application. and check out this flow chart....



来源:https://stackoverflow.com/questions/17498568/when-do-the-appdelegate-methods-get-called-in-relation-to-the-view-lifecycle-met

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