简体   繁体   中英

Why my iPhone app runs in fullscreen on iPad

I have an iPhone app which works fine on iPhone 5 and 4s, when i run it on iPad2 i am expecting it to run in small window with 2x resolution but instead it runs fullscreen messing up all the layouts, apple has rejected my app and i need a fix.

I have created this app as iPhone only and built on Xcode 6 with ios8.0 sdk, Please help thanks

If you set a launch screen for your app, it will be fullscreen on iPad.

In Xcode, select your app target, then select General tab, scroll to App Icons and Launch Images , checkout the Launch Screen File .

好吧,所以最后删除了我用作启动画面的xib文件并使用默认图像而不是现在解决了我的问题,应用程序在iPad上以2x模式在启动画面上运行。

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