【发布时间】:2013-01-16 11:18:46
【问题描述】:
我正在使用 ios6 版本来生成新的 Ipad 应用程序。在我的应用程序中,我正在创建一个拆分视图。该拆分视图必须始终处于横向模式。应用程序在 ipad 6.0 模拟器中运行。但不适用于 ipad 5.0 模拟器。我想同时运行 ipad 6.0 和 ipad 5.0 的应用程序。
我正在使用此代码
-(NSUInteger)supportedInterfaceOrientations
{
return UIInterfaceOrientationMaskLandscape;
}
-(BOOL) shouldAutorotate {
return NO;
}
【问题讨论】:
标签: iphone ios objective-c ipad ios5