故事板在模拟器iPad上的显示方式有所不同

时间:2020-06-27 08:03:16

标签: swift user-interface storyboard ios-simulator xcode11.4

我以前曾经有一个用于iPhone的应用程序,所以我最近添加了一个iPad故事板,我遵循了一些有关相关问题准则的答案,例如

targetRuntime="iOS.CocoaTouch"and change it to targetRuntime="iOS.CocoaTouch.iPad"

我还将ipad故事板添加到了我的信息菜单

enter image description here

自从我使用Xcode 11.5以来,我尚未做的唯一事情就是在故事板源代码中看不到它

<simulatedScreenMetrics key="destination" type="retina4"/> and change it to to <simulatedScreenMetrics key="destination"/>

这是我的应用在模拟器上的显示方式

enter image description here

相对于下面我的故事板上的外观。请不要介意标签,因为它们已在模拟器中本地化。谁能告诉我我在做什么错

enter image description here

0 个答案:

没有答案