码迷,mamicode.com
首页 > 其他好文 > 详细

UIViewController生命周期测试

时间:2017-01-09 12:37:30      阅读:149      评论:0      收藏:0      [点我收藏+]

标签:iss   miss   uiview   layout   退出   strong   ext   nav   control   

push进入

 -[NaviRootVC viewWillDisappear:]

 -[NextVC viewWillAppear:]

 -[NextVC viewWillLayoutSubviews]

 -[NextVC viewDidLayoutSubviews]

 -[NaviRootVC viewDidDisappear:]

 -[NextVC viewDidAppear:]

 

pop退出

 -[NextVC viewWillDisappear:]

 -[NaviRootVC viewWillAppear:]

 -[NextVC viewDidDisappear:]

 -[NaviRootVC viewDidAppear:]

 

present进入

 -[NaviRootVC viewWillDisappear:]

 -[NextVC viewWillAppear:]

 -[NextVC viewWillLayoutSubviews]

 -[NextVC viewDidLayoutSubviews]

 -[NextVC viewWillLayoutSubviews]

 -[NextVC viewDidLayoutSubviews]

 -[NextVC viewDidAppear:]

 -[NaviRootVC viewDidDisappear:]

 

dismiss退出

 -[NextVC viewWillDisappear:]

 -[NaviRootVC viewWillAppear:]

 -[NaviRootVC viewDidAppear:]

 -[NextVC viewDidDisappear:]

 

侧滑先出后回

 -[NextVC viewWillDisappear:]

 -[NaviRootVC viewWillAppear:]

 -[NaviRootVC viewWillDisappear:]

 -[NaviRootVC viewDidDisappear:]

 -[NextVC viewWillAppear:]

 -[NextVC viewDidAppear:]

 

导航根控制器初次加载

 -[NaviRootVC viewWillAppear:]

 -[NaviRootVC viewWillLayoutSubviews]

 -[NaviRootVC viewDidLayoutSubviews]

 -[NaviRootVC viewWillLayoutSubviews]

 -[NaviRootVC viewDidLayoutSubviews]

 -[NaviRootVC viewDidAppear:]

UIViewController生命周期测试

标签:iss   miss   uiview   layout   退出   strong   ext   nav   control   

原文地址:http://www.cnblogs.com/six6/p/6264697.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!