Iphone 我只想支持UIInterfaceOrientationAndscapeRight和UIInterfaceOrientationAndscapeLeft
如何确保不支持UIInterfaceOrientationGraphitalRight和UIInterfaceOrientationGraphitalLeft 基本上,我希望我的应用程序只在UIInterfaceOrientation和ScapeRight以及UIInterfaceOrientation和ScapeLeft中使用 我编辑了Info.plist文件Iphone 我只想支持UIInterfaceOrientationAndscapeRight和UIInterfaceOrientationAndscapeLeft,iphone,objective-c,cocoa-touch,ipad,interface-builder,Iphone,Objective C,Cocoa Touch,Ipad,Interface Builder,如何确保不支持UIInterfaceOrientationGraphitalRight和UIInterfaceOrientationGraphitalLeft 基本上,我希望我的应用程序只在UIInterfaceOrientation和ScapeRight以及UIInterfaceOrientation和ScapeLeft中使用 我编辑了Info.plist文件 <string>MainWindow</string> <key>UISupportedInte
<string>MainWindow</string>
<key>UISupportedInterfaceOrientations</key>
<array>
<string>UIInterfaceOrientationLandscapeLeft</string>
<string>UIInterfaceOrientationLandscapeRight</string>
</array>
main窗口
UI支持接口方向
UIInterface方向和左视图
UIInterfaceOrientationAndscapeRight
确保在每个UIViewController
/uitabarcontroller
等中,在应自动旋转指针界面方向中,返回显示返回((interfaceOrientation==uiInterfaceOrientationAndscapeLeft)|(interfaceOrientation==uiInterfaceOrientationAndscapeRight))