[
https://issues.apache.org/jira/browse/CB-4391?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13764462#comment-13764462
]
Martin edited comment on CB-4391 at 9/11/13 4:37 PM:
-----------------------------------------------------
I fixed this issue by modifying CDVSplashScreen.m, in the updateBounds method.
The line:
imgBounds.origin.y -= statusFrame.size.height;
Should not execute when we're on iOS7, as the status frame doesn't count
towards offsetting the content of the splash screen.
I fixed it by adding the macros from http://stackoverflow.com/a/7848772/54144
and wrapping the line above like so:
if (SYSTEM_VERSION_LESS_THAN(@"7.0")) {
imgBounds.origin.y -= statusFrame.size.height;
}
Hope that helps.
was (Author: martinrue):
I fixed this issue by modifying CDVSplashScreen.m, in the updateBounds
method.
The line:
imgBounds.origin.y -= statusFrame.size.height;
Should not execute when we're on iOS7, as the status frame doesn't count
towards offsetting the content of the splash screen.
I fixed it by adding the macros from http://stackoverflow.com/a/7848772/54144
and wrapping the line above like so:
if (SYSTEM_VERSION_LESS_THAN(@"7.0")) {
imgBounds.origin.y -= statusFrame.size.height;
}
Hope that helps.
> iOS 7: splash screen has a white bar at the bottom of the device screen
> -----------------------------------------------------------------------
>
> Key: CB-4391
> URL: https://issues.apache.org/jira/browse/CB-4391
> Project: Apache Cordova
> Issue Type: Bug
> Components: iOS
> Affects Versions: 3.0.0
> Environment: xcode 5 preview
> iOS 7 simulator/device
> Reporter: lmnbeyond
> Assignee: Shazron Abdullah
>
> Steps:
> 1. Specify the value of "UIStatusBarHidden"(Info.plist) as false (make sure
> it's not fullscreen)
> 2. Run the project on iOS 7 device(or simulator) and check the native splash
> screen
> Result:
> There is a white bar at the bottom of the device screen when native splash
> shows.
--
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