gpt4 book ai didi

ios - 代码 8 : how to adapt iphone app for iPAD

转载 作者:塔克拉玛干 更新时间:2023-11-01 21:20:04 24 4
gpt4 key购买 nike

即使我的客户让我只为 iphone 设备设计一个 iOS 应用程序,现在他也希望我在 iPADS 中运行它,作为在 App Store(ipad 2 或 3)加载应用程序之前的预览。我的应用程序有很多限制,因此它在任何类型的 iphone(> 5S)上都表现良好。因此,我在应用程序的 info.plist 中将“目标设备系列”设置为“1,2”,并尝试将其安装在一对 iPAD 中。即使在 iphone eberthing 中也像下面这样: enter image description here

同样的事情不会发生在 ipad 上:

我不明白为什么一切都被放大而不是全屏。我该怎么做才能稍微解决这个问题?

enter image description here

这是我在 info.plist 中看到的 --> build设置

enter image description here

最佳答案

在你的 Target -> General settings 中设置这个值:

enter image description here

即使目标设备系列设置为 1,我的应用程序也能在 iPad 上正常运行。

enter image description here

关于ios - 代码 8 : how to adapt iphone app for iPAD,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39701759/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com