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

iOS7 splash screen resizing

    XMLWordPrintableJSON

Details

    Description

      When transition happens between xcode splash screen and plugin splash screen I can see image "moving" because it got resized.

      My app is currently compatible with iOS 5.x, 6.x, 7.0.x so I have both old splash screen sizes (devices size - status bar) and new splash screen sizes (full devices size)

      I tried to debug the issue and this is what I have found:

      • plugin guesses splash screen file name based on default apple naming of files
      • plugin is not reading effective splash screen used in in .plist
      • in iOS 7 there are new splash screen sizes which are "outside" standard apple naming

      in this example I will show ipad NON retina landscape:
      1024x748 Default-Landscape~ipad.png
      1024x768 ipad7l.png
      Where "ipad7l" is a name I choose, while " Default-Landscape~ipad" is the name Xcode has given to my splash after pointing it as splash.

      When plugin starts it compares actual device resolution with guessed image resolution and if they're not equal it proceed to resize.

      Device size is 1024x768, image size is 1024x748 (because plugin guesses Default-Landscape~ipad.png as image file name, as in iOS 6 naming) and it proceed to resize it.

      Maybe I am wrong in my splash screen naming.
      If I am not I suggest plugin should red .plist file to know which file to use

      Attachments

        Activity

          People

            Unassigned Unassigned
            fabryb Fabrizio Bottino
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: