随笔 - 165  文章 - 38  评论 - 85  阅读 - 80万
  2012年11月5日
摘要: 项目是在ipad上的横屏的项目,运行在ios6上时,在用到选择本地相册的时候崩溃:“Terminating app due to uncaught exception 'UIApplicationInvalidInterfaceOrientation', reason: 'Supported orientations has no common orientation with the application, and shouldAutorotate is returning YES”一查原来是ios6的rotation较之前有了改动。ios6丢弃了shouldAut 阅读全文
posted @ 2012-11-05 19:02 老Zhan 阅读(1320) 评论(0) 推荐(0) 编辑
摘要: from:http://blog.csdn.net/totogogo/article/details/8002173iOS 6的rotation改变了很多。先来看看官方的描述http://www.bgr.com/2012/08/06/ios-6-beta-4-change-log-now-available/知识点:*UIViewController的shouldAutorotateToInterfaceOrientation方法被deprecated。在ios6里,是使用supportedInterfaceOrientations and shouldAutorotate 2个方法来代替sh 阅读全文
posted @ 2012-11-05 18:33 老Zhan 阅读(367) 评论(0) 推荐(0) 编辑
< 2025年2月 >
26 27 28 29 30 31 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 1
2 3 4 5 6 7 8

点击右上角即可分享
微信分享提示