Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想知道在基于导航的应用程序的程序执行中调用默认或预定义方法(例如 viewDidLoad applicationDidFinishLaunching 等)的顺序。
查看视图控制器的生命周期
其他一切都取决于实例化根视图控制器的顺序和方法(IB 或通过代码)。