2015年4月14日

[UIScreen mainScreen].bounds;与[UIScreen mainScreen].applicationFrame;的区别

摘要: 经测试,发现:[UIScreen mainScreen].bounds;返回的CGRect,包含状态栏20的高度。[UIScreen mainScreen].applicationFrame;返回的CGRect,不包含状态栏20的高度。在此记录下,方便以后查阅。不要笑我菜鸟! 阅读全文

posted @ 2015-04-14 18:26 karen我心永恒 阅读(589) 评论(0) 推荐(0) 编辑

对Warning: Attempt to present XXX on XXX whose view is not in the window hierarchy!的解决方案

摘要: 下面是我找到的最靠谱的答案了。尝试后问题果然解决了。分享给大家。http://blog.csdn.net/sbvfhp/article/details/19826221当我想从一个VC跳转到另一个VC的时候,一般会用- (void)presentViewController:(UIViewContr... 阅读全文

posted @ 2015-04-14 18:20 karen我心永恒 阅读(583) 评论(0) 推荐(0) 编辑

导航