How to avoid optimized for iphone 6 high resolution ios app start in ipad native mode? -
I have an app that added UILaunchStoryboardName to launch in iPhone 6 high resolution mode has gone .
However, when I install the app on the iPad (the app is set to work only on the iPhone, only UIDeviceFamily will have the value "1" / Strong>) is with iOS 8, it starts in basic mode instead of 1x, 2x compatible mode.
I tested on the iPad with iOS 5.1, 6.x and 7.x, before all iOS versions, respect the Info.plist and launch the iPhone app in compatible mode. However, the iPad with iOS 8 seems that UILaunchStoryboardName will launch the app in indiscriminate and original mode.
If I remove the UILaunchStoryboardName key from Info.plist, this is the dilemma, this app will not launch in high resolution mode of iPhone 6 and 6+. But if I add it, the app will not only work on iPhone 6 with high resolution mode, but will also launch in original mode with iTad in iOS 8.0, because I do not want to do just for iPad since another version I am
Can anyone find a way to do this, or are Apple's ways to force all apps to be universal?
Is the app a way to use the iPhone 6 and 6+ high resolution mode, and can not be launched in the original mode on the iPad with iOS 8.0?
Here's the solution: Set your launch storyboard only for iPhone in info.plist Replace UILaunchStoryboardName with UILaunchStoryboardName ~ iPhone. Now the app will run the original on the iPhone and will not run native resolution on the iPad, which means that you can stop the optimization of the iPad Pro.
Comments
Post a Comment