【问题标题】:When I switch from iPad to iPhone "view as" on xcode, one scene still looks like iPad当我从 iPad 切换到 iPhone 在 xcode 上“查看为”时,一个场景仍然看起来像 iPad
【发布时间】:2019-06-05 07:52:57
【问题描述】:

当我将“视图为”从 iPad 更改为 iPhone 时,我正在开发一个应用程序,一切都很好,除了一个保留 iPad 视图的单一视图。

我尝试编辑约束和所有内容,但即使当我运行应用程序时,该应用程序在 iPhone 上看起来还不错,“视图为”仍将场景显示为 iPad。

【问题讨论】:

标签: ios swift iphone xcode ipad


【解决方案1】:

选择视图控制器并打开右侧的尺寸检查器选项卡(尺寸检查器)。

然后确保将模拟大小设置为固定

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2011-09-12
    • 2011-05-21
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2016-07-31
    相关资源
    最近更新 更多