摘要:
项目是在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 阅读全文
摘要:
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 阅读全文