无需启动屏幕即可强制iPad Pro达到全分辨率 [英] Force iPad Pro to full resolution without Launch Screen
问题描述
我想在我的iOS应用中使用启动图像,而不是启动屏幕。 (启动图像可以比启动屏幕更精确地定位设备; 没有办法制作一个与启动图像完全相同的启动屏幕。)
I want to use a Launch Image with my iOS app, not a Launch Screen. (Launch Images can target devices more precisely than Launch Screens; there's no way to make a launch screen that behaves exactly like a launch image.)
如果您的iOS应用中没有启动屏幕,则iPad Pro会显示为如果屏幕分辨率为1024x768点宽。 (要查看此内容,请创建一个新项目,删除其启动屏幕,然后在iPod Pro模拟器中启动它。)
If you do not have a Launch Screen in your iOS app, the iPad Pro renders as if the screen resolution were 1024x768 points wide. (To see this, create a new project, delete its launch screen, and start it in iPod Pro simulator.)
有没有办法获得iPad Pro在不使用启动屏幕的情况下在原生1366x1024点渲染?
推荐答案
不,你必须使用启动屏幕来支持iPad Pro。这就是Apple决定支持它的方式。
No, you must use a Launch Screen to support the iPad Pro. That is how Apple decided to support it.
如果你找不到使用单个启动屏幕获得所需结果的方法,你可以提供一个特定的iPhone和iPad专用的iPhone。
If you can't find a way to use a single Launch Screen to get the results you want, you can provide one specific to iPhones and one specific to iPads.
更新:Xcode 8支持iPad Pro启动图像插槽,因此您不再需要使用启动屏幕文件以支持iPad Pro。
Update: Xcode 8 supports an iPad Pro Launch image slot so you no longer must use a Launch screen file to support the iPad Pro.
这篇关于无需启动屏幕即可强制iPad Pro达到全分辨率的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!