在xcode / simulator中启用iPad专业版 [英] enabling iPad pro in xcode/simulator
问题描述
我有一个现有的iPad项目,我希望能够在iPad-pro上使用。在我的项目目标中,我将iOS开发目标设置为9.1,并确保在我的个人应用目标中设置了相同的开发目标。然而,当我选择iPad pro形成模拟器并运行项目时,我的屏幕尺寸仍设置为标准iPad尺寸
I have an existing iPad project which I want to enable to be used on iPad-pro. In my "Project target" I set my "iOS Development Target" to 9.1 and made sure that in my individual app targets the same development target has been set. However when I choose iPad pro form the simulator and run the project my screen size is still set to the standard iPad size
the screen size:(0.0, 0.0, 768.0, 1024.0)
有人能指出我还应该做什么做。
Could someone point me to what else I should be doing.
我的项目是objective-c和swift的组合。
感谢
My project is a combination of objective-c and swift. With thanks
Reza
推荐答案
具有特定屏幕尺寸的iOS设备,您必须提供正确的启动图像或启动故事板,以使iOS知道您提供的屏幕尺寸。
as with every iOS device that has a specific screen size, you have to provide the right launch image or a launch storyboard to make it known to iOS that you provide the screen size.
for ipad pro:
for ipad pro:
这篇关于在xcode / simulator中启用iPad专业版的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!