[英]enabling iPad pro in xcode/simulator
I have an existing iPad project which I want to enable to be used on iPad-pro. 我有一个现有的iPad项目,希望将其用于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.
在“项目目标”中,将“ iOS开发目标”设置为9.1,并确保在我的单个应用程序目标中设置了相同的开发目标。 However when I choose iPad pro form the simulator and run the project my screen size is still set to the standard iPad size
但是,当我从模拟器中选择iPad Pro并运行项目时,我的屏幕尺寸仍设置为标准iPad尺寸
the screen size:(0.0, 0.0, 768.0, 1024.0)
Could someone point me to what else I should be doing. 有人可以指出我要做什么。
My project is a combination of objective-c and swift. 我的项目是Objective-C和Swift的结合。 With thanks
谢谢你
Reza 雷扎
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. 与每个具有特定屏幕尺寸的iOS设备一样,您必须提供正确的启动图像或启动故事板,以使iOS知道您提供了屏幕尺寸。
for ipad pro: 对于iPad Pro:
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.