14

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?

jptsetung
  • 9,064
  • 3
  • 43
  • 55

3 Answers3

40

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)

jptsetung
  • 9,064
  • 3
  • 43
  • 55
Jonathan Cichon
  • 4,396
  • 16
  • 19
  • The image must be called Default-568h@2x.png (if your splashscreen is Default.png in your Info.plist) – jptsetung Sep 14 '12 at 04:05
  • This wont make the VCs extend – Anthony Main Jan 09 '13 at 10:23
  • 3
    At first this didn't work for me. Then I built clean, and pushed to my iPhone 5 after removing the previous build from the phone, and it finally worked. – idStar Jan 21 '13 at 03:00
  • This isn't working for my game developed using the **Sparrow Framework**. Any thoughts? – brain56 May 24 '13 at 08:43
  • Hi. Actually, it does work, but only if I install the app via **Testflight**. It doesn't work from Xcode. Weirdest sh*t ever. It jeopardized a delivery. :/ – brain56 May 29 '13 at 01:01
  • idStar's comment is important. I had the same issue until I cleaned everything - must be a cached copy of Default-568h@2x.png lying around somewhere. – Andrew Sep 26 '13 at 20:02
  • What if all LaunchScreens are in an asset by now? Do I need to name the Asset's images like that? They currently have custom names. – Ray Oct 07 '15 at 10:34
  • Edit: It looked liked I had to put it as a separate Bundle Resource image to it. Retarded... – Ray Oct 07 '15 at 11:57
1

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

Aadil Keshwani
  • 1,385
  • 1
  • 18
  • 29
0

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.

StinkyCat
  • 1,236
  • 1
  • 17
  • 31