0
我们使用下面的代码来对齐屏幕的横向模式的iPad - 横向不工作在iPad,但在模拟器工作
- (BOOL)shouldAutorotateToInterfaceOrientation:
(UIInterfaceOrientation)interfaceOrientation
{
return (interfaceOrientation == UIInterfaceOrientationLandscapeLeft);
}
它显示为5.1模拟器预期(横向),但显示在人像模式
在iPad中。 Pl建议
你的iPad在iOS 6.0上有任何机会吗?或者它的旋转锁定? (做其他应用程序旋转?) –
Filip。你是对的。它的iPad 6.0。 Aint 6.0应该支持在5.1上运行的功能吗? Pl建议 –
这是一个模态屏幕,它的父母仍在创建并呈现(即在'viewWillAppear'或'viewDidAppear')时呈现吗? –