Ipad在横向模式下和iphone在纵向模式下

时间:2013-10-07 11:24:01

标签: iphone ios ipad landscape portrait

当我的应用程序在PortraitiPhone模式下运行时,我需要设置Landscape模式。 我在iPad中进行了更改,但我无法为info.plistiPad设置更改。

3 个答案:

答案 0 :(得分:13)

project target,转到General,然后在Development Info部分,按照附件中的说明进行操作:

1 - 确保您的应用设置为Universal支持的设备

2选择iPhone并查看肖像。

3选择iPad并检查风景。

iPhone Portrait iPad Landscape

答案 1 :(得分:4)

在Xcode 9.2中没有选择ipad和iphone方向的选项

enter image description here

但我们可以通过info.plist更改它,无论我们需要什么方向......它也很容易。

enter image description here

参考:iPhone portrait-only app starts as landscape on iPad

答案 2 :(得分:-2)

相关问题