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/17 20:43:08 UTC

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

Brion Vibber created CB-1482:
--------------------------------

             Summary: 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


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

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

Posted by "Brion Vibber (JIRA)" <ji...@apache.org>.
    [ 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

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

Posted by "Shazron Abdullah (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CB-1482?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Shazron Abdullah updated CB-1482:
---------------------------------

    Fix Version/s: 2.2.0

Thanks Brion! I'll take a look at it soon.
                
> 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
>             Fix For: 2.2.0
>
>         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

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

Posted by "Jesper Hessius (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CB-1482?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jesper Hessius updated CB-1482:
-------------------------------

    Attachment: screenshot-1.jpg

After first showing the correct splash image this smaller version flashes
                
> 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

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

Posted by "Shazron Abdullah (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CB-1482?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Shazron Abdullah resolved CB-1482.
----------------------------------

    Resolution: Fixed

Fix commit - http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/commit/ca705097
                
> 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
>             Fix For: 2.2.0
>
>         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