【问题标题】:Rotation to landscape not allowed in project, but still rotating on iPad项目中不允许旋转到横向,但仍在 iPad 上旋转
【发布时间】:2016-01-08 18:04:43
【问题描述】:

我有一个通用的 swift 应用程序,勾选了 2 个设备方向:

肖像 倒置

(我更喜欢它只在所有设备上都处于纵向模式)

在我的 iPhone 上它永远不会切换到横向,但在 iPad 上它会。

知道为什么吗?

【问题讨论】:

  • 这看起来很奇怪,你做了什么让应用程序无法旋转?

标签: ios swift


【解决方案1】:

Supported interface orientations (iPad) 下的 plist 文件中,确保删除 Landscape (left home button)Landscape (right home button)

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2016-01-19
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多