cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Fabrizio Bottino (JIRA)" <>
Subject [jira] [Created] (CB-5375) iOS7 splash screen resizing
Date Wed, 13 Nov 2013 13:49:22 GMT
Fabrizio Bottino created CB-5375:

             Summary: iOS7 splash screen resizing
                 Key: CB-5375
             Project: Apache Cordova
          Issue Type: Bug
          Components: Plugin SplashScreen
    Affects Versions: 3.1.0
         Environment: iOS 7.0.x
Xcode 5
            Reporter: Fabrizio Bottino

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

This message was sent by Atlassian JIRA

View raw message