How to enable native resolution for apps on iPhone 6 and 6 Plus?

villapossu picture villapossu · Sep 10, 2014 · Viewed 100.9k times · Source

Xcode 6 GM now includes simulators for iPhone 6 and 6 Plus, and by default they run apps in a scaled mode.

To enable the new screen size I tried adding [email protected] which seems to do a part of the trick since the app now fails to run at all, with the error "Unable to run app in Simulator – An error was encountered while running (Domain = LaunchServicesError, Code = 0)".

Has anyone figured out how to get an app actually run in the 6/6+ resolution?

Answer

David L picture David L · Sep 10, 2014

You can add a launch screen file that appears to work for multiple screen sizes. I just added the MainStoryboard as a launch screen file and that stopped the app from scaling. I think I will need to add a permanent launch screen later, but that got the native resolution up and working quickly. In Xcode, go to your target, general and add the launch screen file there.

Launch Screen File