cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shazron Abdullah (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CB-1958) Post-loading splash screen is not centered properly on 3.5inch iOS
Date Wed, 09 Jan 2013 00:56:13 GMT

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

Shazron Abdullah resolved CB-1958.
----------------------------------

    Resolution: Cannot Reproduce
    
> 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:
> {code}Line 695: } else { // not iPad
> Line 696:     orientedLaunchImageFile = launchImageFile;
> Line 697:     center.y += MIN(statusBarFrame.size.width, statusBarFrame.size.height)
/ 2;
> Line 698: }{code}

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

Mime
View raw message