与初始视图控制器的视图生命周期方法相关的 appdelegate 方法何时被调用? [英] When do the appdelegate methods get called in relation to the view lifecycle methods of your initial view controller?
本文介绍了与初始视图控制器的视图生命周期方法相关的 appdelegate 方法何时被调用?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
应用加载时调用的方法顺序是什么,尤其是这些方法:
What is the sequence of methods that get called when your app loads, especially for these methods:
- applicationDidFinishLaunching
- viewDidLoad
- viewWillAppear
- applicationDidBecomeActive
- awakeFromNib
推荐答案
你可以查看这个网站 http://www.cocoanetics.com/2010/07/understanding-ios-4-backgrounding-and-delegate-messaging/ &这个应用流程图.并查看此流程图....
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....
这篇关于与初始视图控制器的视图生命周期方法相关的 appdelegate 方法何时被调用?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文