rghome
rghome

Reputation: 8841

How do I make an iPad app scale for the iPad pro?

I have been developing an iPad app using Xcode 7.3. When I test the app under the simulator for the iPad pro, it does not occupy the full screen (whereas it works fine on iPad 2).

Some posts on Apple forums indicate that it should, unless you are using a "native" mode, which I have not explicitly specified.

Is there a build setting somewhere I need to change?

Upvotes: 2

Views: 1655

Answers (1)

rghome
rghome

Reputation: 8841

This problem was caused because a launch screen file was specified rather than a launch image.

In Xcode, select the project and then the General tab and under App Icons and Launch Images there are two ways to specify the initial screen. You can add an image to your image catalogue (launch image source) or you can specify a storyboard or xib (launch screen file).

If you specify an image from the catalogue suitable for the iPad then when launching on an iPad pro it will scale the application. If you specify a launch screen file it will not scale.

Upvotes: 5

Related Questions