cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Leandro Terodde (JIRA)" <>
Subject [jira] [Commented] (CB-12890) Status bar no longer overlays the web view on iOS 11
Date Sun, 23 Jul 2017 13:10:00 GMT


Leandro Terodde commented on CB-12890:

I've looked into Ahmad's link and he took me to the path of fixing it. I noticed that when
I invoked the "Keyboard.disableScroll(false)" function that the webview goes back to normal
and goes underneath the statusbar again. What it simply does is set the scrollEnabled property
of the scrollView in the webView to "NO". So I went to the CDVUIWebViewDelegate.m file (Private/Plugins/CDVUIWebViewEngine)
and pasted this line at the end of the webViewDidFinishLoad function :

webView.scrollView.scrollEnabled = NO;

Hope this helps

> Status bar no longer overlays the web view on iOS 11
> ----------------------------------------------------
>                 Key: CB-12890
>                 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
> Just updated to iOS 11. I am using the same exact project I was using on iOS 10.3.
> The status bar no longer overlays the web view, it just pushes it down.
> StatusBar.styleDefault() shows the status bar with a white background and white text.
> StatusBar.styleBlackTranslucent() makes the background white with the text also in white,
so it just looks like a white bar.
> StatusBar.overlaysWebView(true) has no effect at all. Did not need it before to work
correctly, adding it doesn't fix the problem.

This message was sent by Atlassian JIRA

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

View raw message