我想,如果我旋转ipad的 我在我的代码中使用旋转在ipad上我的iPhone应用程序是:当启用旋转选项旋转在ipad我的iPhone应用程序
- (NSUInteger)supportedInterfaceOrientations {
return UIInterfaceOrientationMaskAll;
}
- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)orientation
{
return (orientation == UIInterfaceOrientationMaskAll);
}
和我检查肖像和景观:
和plist文件:
我应用器件系列是仅适用于iPhone,并显示在iPad设备的iphone
但它不旋转,请纠正我上面的代码,谢谢
您使用的是iOS 5吗? – iAhmed