Reputation: 4224
I have ensured that I'm using the latest version of Xcode, but when launch my iPad Pro 12"9 simulator (full screen, 100% scale) and programatically get the width and height of the screen, I get 1024x768
. Shouldn't it be 1366x1024
instead? What could cause this?
Thanks for your help.
Upvotes: 6
Views: 2553
Reputation: 534885
The iPad Pro 12.9-inch has a Display Zoom feature that turns the screen into a 2048 x 1536 screen (that's pixels; it's double-resolution, so points would be 1024x768, which is what you are seeing). In effect, it now thinks it's an iPad Air.
So, your iPad Pro is displaying your app in that mode. This could be because:
a. Your iPad Pro really is in Zoomed mode.
b. You failed to include in your app bundle a proper LaunchScreen.storyboard.
Upvotes: 5