[
https://issues.apache.org/jira/browse/CB-5375?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Shazron Abdullah updated CB-5375:
---------------------------------
Component/s: (was: iOS)
> iOS7 splash screen resizing
> ---------------------------
>
> Key: CB-5375
> URL: https://issues.apache.org/jira/browse/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
> Labels: ios7, splashscreen, xcode5
>
> 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
(v6.2#6252)