【发布时间】:2017-09-15 02:39:00
【问题描述】:
我希望我的 iPad 上的 APP A-View 是纵向的,B-View 是横向的(左或右)。
我在 AppDelegate.m 中尝试了 [application:supportedInterfaceOrientationsForWindow:] 和 [shouldAutorotate:][supportedInterfaceOrientations:][ preferredInterfaceOrientationForPresentation:]在我用来展示我的APP(iOS 11)的NavigationController,ViewController中。
它在 iPhone 上运行良好,但当我在 iPad 上尝试时,它甚至 [application:supportedInterfaceOrientationsForWindow:] 都无法运行。
我想知道如何在 iPad 上控制 ScreenRotation。
非常感谢。 感谢您的善意帮助。
已解决,留作提醒
【问题讨论】:
标签: ios ipad screen-rotation