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] [Commented] (CB-1958) Post-loading splash screen is not centered properly on 3.5inch iOS
Date Sat, 01 Dec 2012 00:09:58 GMT

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

Shazron Abdullah commented on CB-1958:
--------------------------------------

I tested with 2.2.0 and the latest code using a new project, I can't seem to be able to repro
this.
                
> 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