简体   繁体   中英

iPhone app on iPad without compatibility mode

I've developed an iphone only app (so 'Targeted Device Family' is set to iPhone since the beginning of the project) and when I finished I've tried to run it on the iPad just to check if the compatibility mode was working correctly but surprisingly it loads a full screen, without any compatibility mode!
Of course since it's an iphone app it doesn't look good at all. Can you think of the reason why the targeted device family = iPhone doesn't fire the compatibility mode on the iPad? (I tried on real device and simulators as well).

In iOS 8, there is an issue that when you use the new Launch Screen File, your app will automatically become universal. This issue is solved in iOS 8.1 beta, and therefore this is not a real solution.

For now, you are better off using Launch images in the asset catalog.

Also add the device modifier ~iphone to the launch file will make sure that the app is not see as an universal app.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM