Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-1482

On iPhone 5 (iOS 6 w/ 4" screen), wrong-sized splash screen flashes before application start

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.0.0
    • 2.2.0
    • cordova-ios
    • Testing with XCode 4.5 / iOS 6 GM seed, simulator set to iPhone with 4" Retina display (upcoming iPhone 5 / iPod touch)

    Description

      There's a new class of iOS devices coming, starting with the iPhone 5 and it's iPod touch bretheren with a new 4" screen size. When updating a project to include a taller splash screen image for compatibility with the new size ('Default-568h@2x.png'), I notice that on startup there's a brief flash of the 3.5"-size image ('Default@2x.png') before the application initializes.

      It looks like Cordova is reshowing the splash screen itself during Cordova initialization, and is selecting the wrong one in this case...

      In CDVViewController showSplashScreen it looks like it just loads the "Default" image if not on an iPad; needs to be updated to check the screen height and load 'Default-568h' if appropriate.

      Attachments

        1. screenshot-1.jpg
          130 kB
          Jesper Hessius

        Issue Links

          Activity

            People

              shazron Shazron Abdullah
              brion Brion Vibber
              Votes:
              2 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: