How iPhone 5 + iOS6 will decide if an app must be

2019-01-05 04:37发布

How the iOS6 decides if the app must be run in letterbox/compatibility mode on iPhone 5? Is this a build settings parameter (like the "Targeted device family")? Or all apps build against the latest SDK MUST support iPhone 5 screen size? Or the app will be run in letterbox mode is there is not a 1136x640 Default.png splashscreen ? Or what else?

标签: iphone ios6
3条回答
欢心
2楼-- · 2019-01-05 05:07

The app will run in letterbox mode if there is no 1136x640 Default.png splashscreen.

The image must be called Default-568h@2x.png (if your splashscreen is Default.png in your Info.plist)

查看更多
我命由我不由天
3楼-- · 2019-01-05 05:07

I didn't try adding the splashscreen (special because I didn't have any image by the time), but instead just went to the

Target General settings -> App Icons and Launch Images -> Launch Images Source

and created a new catalog. Didn't add any image to it, just run the application and the black bars were gone.

Hope this helps anyone.

查看更多
霸刀☆藐视天下
4楼-- · 2019-01-05 05:13

You will need to add IOS8 specific splash screen too. In my case i had 1136x640 Default.png splashscreen but you need to select launch screen and select orientation as shown below

enter image description here

This worked for me. Hope this helps :)

查看更多
登录 后发表回答