Brandon Tooke created CB-1958: --------------------------------- Summary: 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: Critical
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