You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by "Brion Vibber (JIRA)" <ji...@apache.org> on 2012/09/18 01:27:07 UTC

[jira] [Commented] (CB-1482) On iPhone 5 (iOS 6 w/ 4" screen), wrong-sized splash screen flashes before application start

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

Brion Vibber commented on CB-1482:
----------------------------------

Here's a pull request: https://github.com/apache/incubator-cordova-ios/pull/50

* adds a 4" Retina display default splash screen image
* loads the correct splash screen image

Works for me in test projects on the iOS 6 simulator with XCode 4.5 GM seed.
                
> On iPhone 5 (iOS 6 w/ 4" screen), wrong-sized splash screen flashes before application start
> --------------------------------------------------------------------------------------------
>
>                 Key: CB-1482
>                 URL: https://issues.apache.org/jira/browse/CB-1482
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: iOS
>    Affects Versions: 2.0.0
>         Environment: Testing with XCode 4.5 / iOS 6 GM seed, simulator set to iPhone with 4" Retina display (upcoming iPhone 5 / iPod touch)
>            Reporter: Brion Vibber
>            Assignee: Shazron Abdullah
>            Priority: Minor
>              Labels: iOS6, splashscreen
>         Attachments: screenshot-1.jpg
>
>
> 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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira