2

I have an ipad application that I would like to run on iPad pro, but when I run it, it only occupies one corner of the screen like so:

enter image description here

Now, another stackoverflow question asked the same question and the response was to remove the launch screen file and not to give the OS any hardcoded information about the device size it's going to run on. I did it and it scaled my app to full screen BUT..

It created another iOS10 specific bug that happens if you don't specify the launch screen: iPad Application shows app icon as launch screen in iOS 10

How can I fix this without compromising on one bug or the other.

Community
  • 1
  • 1
Anton Unt
  • 1,835
  • 1
  • 21
  • 47
  • Since `XCode` now provides the `iPad Pro Sceen` in the `Launch Screen.storyboard` file, just check once if the view is proper. – Sachin Vas Sep 27 '16 at 16:20
  • Do you want to take full advantage of the iPad Pro's larger screen or do you simply want regular iPad sized app to be scaled up to fill the larger screen (you should answer yes for your users' sakes)? – rmaddy Sep 27 '16 at 16:21
  • 1
    @rmaddy I want to scale it up for now before working on the full size layout for the Pro. – Anton Unt Sep 28 '16 at 00:39

1 Answers1

1

I ran into similar issue. Below is the solution that worked for me.

My app uses a launch story board to fix the weird issue of zoomed app icon on launch.

Removing this resulted in fixing the resolution in iPad Pro and app behaved exactly like in iPad Air.

But i need to add Launch image to fix the zoomed app icon on launch. Go to Setting -> General

Launch image settings

Add launch images (1024 * 768) in asset catalog. (Based on orientations your app supports.)

This should fix both the issues of zoomed app icon on launch and setting proper resolution to fit the app in iPad Pro as in iPad Air.

Ravi
  • 119
  • 1
  • 4