cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shazron Abdullah (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-5375) iOS7 splash screen resizing
Date Tue, 10 Dec 2013 00:32:08 GMT

    [ https://issues.apache.org/jira/browse/CB-5375?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13843759#comment-13843759
] 

Shazron Abdullah commented on CB-5375:
--------------------------------------

Check out CB-5290 which has been included in 3.2.0

> iOS7 splash screen resizing
> ---------------------------
>
>                 Key: CB-5375
>                 URL: https://issues.apache.org/jira/browse/CB-5375
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: iOS, 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.1.4#6159)

Mime
View raw message