Sir Patrick created CB-13682:
--------------------------------
Summary: Statusbar not overlapping web view
Key: CB-13682
URL: https://issues.apache.org/jira/browse/CB-13682
Project: Apache Cordova
Issue Type: Bug
Components: cordova-plugin-statusbar
Affects Versions: cordova-ios 4.5.0, 2.4.0
Environment: iOS 11.2.1
Cordova: 7.1.0
Cordova iOS: 4.5.4
cordova-plugin-statusbar: 2.4.0
Reporter: Sir Patrick
Priority: Critical
There seems to be a bug with initializing "_statusBarBackgroundView" in the ios
code.
It's initialized to YES. The code that makes it appear above the web view is
in the
setStatusBarOverlaysWebView method.
However, if the value did not change, it won't execute. Hence, the code
[_statusBarBackgroundView removeFromSuperview];
is never executed for me unless I'm toggling the flag on startup:
StatusBar.overlaysWebView(false);
StatusBar.overlaysWebView(true);
That fixes the issue for me in this configuration, and the status bar overlays
the webview again.
It might be good enough to actually call teh the setStatusBarOverlaysWebView
when defining the default.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]