enabling iPad pro in xcode/simulator

巧了我就是萌 提交于 2019-12-11 18:08:56

问题


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.

My project is a combination of objective-c and swift. With thanks

Reza


回答1:


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:

  • https://developer.apple.com/library/ios/documentation/UserExperience/Conceptual/MobileHIG/IconMatrix.html

  • iPad Pro launch image and App icon

  • iPad Pro icon and launch image



来源:https://stackoverflow.com/questions/33823576/enabling-ipad-pro-in-xcode-simulator

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!