cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nicola (JIRA)" <>
Subject [jira] [Commented] (CB-12891) Double Height Status Bar Leaves A White Bar At The Bottom
Date Tue, 11 Jul 2017 13:23:00 GMT


Nicola commented on CB-12891:

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

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

> Double Height Status Bar Leaves A White Bar At The Bottom
> ---------------------------------------------------------
>                 Key: CB-12891
>                 URL:
>             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

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message