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

Warning: Attempt to present * on * whose view is not in the window hierarchy!

时间:2014-07-22 00:11:35      阅读:229      评论:0      收藏:0      [点我收藏+]

标签:os   io   re   c   ar   window   

Warning: Attempt to present  * on *  whose view is not in the window hierarchy!

出现这样的警告的原因是:ios 不允许在某个viewController的viewDidLoad方法中去呈现其他的viewController,你如果想要的是XXviewController显示之后马上呈现YY的话,可以在viewDidAppear中试试。

Warning: Attempt to present * on * whose view is not in the window hierarchy!,布布扣,bubuko.com

Warning: Attempt to present * on * whose view is not in the window hierarchy!

标签:os   io   re   c   ar   window   

原文地址:http://blog.csdn.net/mdk132/article/details/38019311

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