You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Nicola (JIRA)" <ji...@apache.org> on 2017/07/11 12:43:01 UTC

[jira] [Commented] (CB-12891) Double Height Status Bar Leaves A White Bar At The Bottom

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

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

Hi to all, I had the same issue on iOs 11 betas, I've solved this issue by forcing webView frame inside the function webViewDidFinishLoad inside the CDVUIWebViewDelegate.m as follow:

*_webView.frame = CGRectMake(0, 0, [UIScreen mainScreen].bounds.size.width, [UIScreen mainScreen].bounds.size.height);_*

I've put this line as the last line inside the function.

I don't know if you have my same issue, but this fix could help you too.

Cheers!

> 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: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org