码迷,mamicode.com
首页 > Windows程序 > 详细

whose view is not in the window hierarchy!

时间:2014-09-24 17:07:47      阅读:185      评论:0      收藏:0      [点我收藏+]

标签:whose view is not in

whose view is not in the window hierarchy!

 [self presentViewController:tabbar animated:NO completion:NULL];

不要在viewWillAppear 和 viewDidLoad 实现页面跳转

viewDidAppear方法和viewDidLoad方法的区别在于:viewDidLoad方法调用时视图还没完全过渡到window中,viewDidAppear方法调用时,视图已经完全过渡到window中了。
在viewDidAppear方法中调用performSegue方法实现视图跳转

whose view is not in the window hierarchy!

标签:whose view is not in

原文地址:http://blog.csdn.net/u010241322/article/details/39523185

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