【发布时间】:2015-08-03 18:30:58
【问题描述】:
我只是想设置我的应用,以便在横向模式下只能查看一个视图。
我尝试了从shouldAutorotate 到supportedInterfaceOrientation 到preferedInterfaceOrientationForPresentation 的几乎所有方法,并将[UIDevice currentDevice] 的方向设置为纵向。我在 Info.plist 和项目的常规部分中启用了 Landscape。
【问题讨论】:
标签: ios objective-c orientation