[
https://issues.apache.org/jira/browse/CB-13682?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16293815#comment-16293815
]
Jan Piotrowski (Sujan) commented on CB-13682:
---------------------------------------------
Good catch, if this is true.
Also sounds simple enough to fix. Please go ahead and open a Pull Request for
the code on Github and connect it to this issue. Thanks you.
> 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: 2.4.0, cordova-ios 4.5.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
> Labels: easyfix
>
> 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]