Skip to content

Latest commit

 

History

History
22 lines (16 loc) · 545 Bytes

10.第十题.md

File metadata and controls

22 lines (16 loc) · 545 Bytes

10.UIViewController 的生命周期?

可以参考一下这篇文章

-[ViewController initWithCoder:]
-[ViewController awakeFromNib]
-[ViewController loadView]
-[ViewController viewDidLoad]
-[ViewController viewWillAppear:]
-[ViewController viewWillLayoutSubviews]
-[ViewController viewDidLayoutSubviews]
-[ViewController viewDidAppear:]
-[ViewController viewWillDisappear:]
-[ViewController viewDidDisappear:]
-[ViewController dealloc]
-[ViewController didReceiveMemoryWarning]