You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by "Brandon Tooke (JIRA)" <ji...@apache.org> on 2012/11/30 18:55:58 UTC

[jira] [Updated] (CB-1958) Post-loading splash screen is not centered properly on 3.5inch iOS

     [ https://issues.apache.org/jira/browse/CB-1958?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brandon Tooke updated CB-1958:
------------------------------

    Priority: Minor  (was: Critical)
    
> Post-loading splash screen is not centered properly on 3.5inch iOS
> ------------------------------------------------------------------
>
>                 Key: CB-1958
>                 URL: https://issues.apache.org/jira/browse/CB-1958
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: iOS
>    Affects Versions: 2.2.0
>            Reporter: Brandon Tooke
>            Assignee: Shazron Abdullah
>            Priority: Minor
>
> When "AutoHideSplashScreen" is set to NO, the splash screen shifts up by 10px after the initial loading phase is complete and before the loading screen is hidden by the app because the height of the status bar is not being included in determining where the splash screen should be centered.
> I have resolved this issue in my case by adding the following line (Line 697) to CDVViewController.m:
> Line 695: } else { // not iPad
> Line 696:     orientedLaunchImageFile = launchImageFile;
> Line 697:     center.y += MIN(statusBarFrame.size.width, statusBarFrame.size.height) / 2;
> Line 698: }

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