How iPhone 5 + iOS6 will decide if an app must be run in letterbox mode

前端 未结 3 873
庸人自扰
庸人自扰 2020-11-27 07:04

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 app

相关标签:
3条回答
  • 2020-11-27 07:28

    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 :)

    0 讨论(0)
  • 2020-11-27 07:29

    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)

    0 讨论(0)
  • 2020-11-27 07:46

    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.

    0 讨论(0)
提交回复
热议问题