我使用Xcode 4.3.2和iPad模拟器5.1IOS设备方向卡住肖像模式,没有横向
我真的需要一些帮助,我的应用程序被卡在肖像模式。
当我旋转模拟器 我试着在项目设置下进行查看并进行以下检查: 肖像,倒置,左侧风景和右侧风景。
我也是这些方法在视图控制器:
- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation
{
return YES;
}
任何人都可以请帮助?
当您端口到iOS 6,您将需要额外的代码:http://stackoverflow.com/questions/12565693/xcode-4-5-ios-6-0-simulator-orientation-not-工作/ 12568678#12568678 – gjpc 2012-09-24 17:52:27