Search code examples
iosxcodeiphone-xxcode10ios12

iPhone XS Max / XR not able to use native resolution when using launch images in Xcode 10


I'm using the old school launch image approach instead of a Launch screen storyboard for unrelated reasons.

Normally when Apple has come out with new physical form factors they have added the ability to include images for the new screen sizes in the image asset catalog, which would in turn enable your app to run at native resolution instead of being scaled up from previously supported resolutions.

However, this time around that does not seem to be the case. This is how the LaunchImage asset looks in the final version of Xcode 10 (i.e. not GM):

enter image description here

As you can see there are no drop-ins for iPhone XS Max or iPhone XR, which both have a different (higher) resolution than iPhone X and iPhone XS.

I have seen other people with the same issue, however without any solution.

I can't seem to find any iOS 12 or Xcode 10 documentation suggesting that Apple only supports storyboards or xibs for launch screens going forward.


Solution

  • I had it set up like on your picture, and then I noticed that in the inspector on the right there is an 'iOS 8.0 and later' section of checkboxes that weren't checked - when I checked the Portrait one, the XS Max and XR boxes appeared. If you have that checked, maybe unchecking and checking it again would fix the problem.