其實這篇很單純
如果要符合iOS 6
不需要改動程式其他部分只要加上
要怎麼轉動請改第一個supportedInterfaceOrientations
原文如下:
iOS 6的rotation改变了很多。先来看看官方的描述 http://www.bgr.com/2012/08/06/ios-6-beta-4-change-log-now-available/
如果要符合iOS 6
不需要改動程式其他部分只要加上
- -(NSUInteger)supportedInterfaceOrientations{
- return UIInterfaceOrientationMaskLandscape;
- }
- - (BOOL)shouldAutorotate
- {
- return YES;
- }
要怎麼轉動請改第一個supportedInterfaceOrientations
原文如下:
iOS 6的rotation改变了很多。先来看看官方的描述 http://www.bgr.com/2012/08/06/ios-6-beta-4-change-log-now-available/