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

Nicola commented on CB-12891:
-----------------------------

EDIT:
To prevent bad behaviours on previous iOS version I've improved the temporary 
solution as follow:

{code:objectivec}
NSString* osVersion; (line 104)
[...]
(line 357)
if(osVersion == nil) {
    osVersion = [[UIDevice currentDevice] systemVersion];
}
    
if([osVersion hasPrefix:@"11"]) {
    webView.frame = CGRectMake(0, 0, [UIScreen mainScreen].bounds.size.width, 
[UIScreen mainScreen].bounds.size.height);
}
{code}


> Double Height Status Bar Leaves A White Bar At The Bottom
> ---------------------------------------------------------
>
>                 Key: CB-12891
>                 URL: https://issues.apache.org/jira/browse/CB-12891
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: cordova-plugin-statusbar
>         Environment: iOS 11, using Ionic v3.3.0 on an iPhone 7 Plus
>            Reporter: Ahmad Tawakol
>              Labels: iOS11
>
> Not sure if this is related to the statusbar plugin or not but, on iOS 11, 
> when you have a double height status bar the view resizes itself and pushes 
> the content down correctly. But when it goes away and returns to a normal 
> status bar, the view doesn't resize itself again to fill the screen, leaving 
> a white bar at the bottom of the screen.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to