摘要:
iOS 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个方法来代替shouldAutorotateToInterfaceOrientation。注意:为了向后兼容iOS 4 and 5, 阅读全文