只有一个快速的问题。假设我把我的应用更新到了iOS6,并将iOS5中的shouldAutoRotate方法更改如下:
- (BOOL) shouldAutorotate
{
return YES;
}
-(NSUInteger)supportedInterfaceOrientations
{
return UIInterfaceOrientationMaskLandscapeRight;
}
如果我仍在支持iOS5,那么我需要检查iOS版本,并在设备运行iOS5时同时包含旧的iOS5方法(例如shouldAutoRotateToInterfaceOrientation)吗?
谢谢!