Github user goshakkk commented on a diff in the pull request:
https://github.com/apache/cordova-plugin-statusbar/pull/55#discussion_r58876986
--- Diff: src/ios/CDVStatusBar.m ---
@@ -457,6 +457,14 @@ -(void)resizeWebView
frame.origin.y = statusBarFrame.size.height;
frame.size.height -= statusBarFrame.size.height;
self.webView.frame = frame;
+ } else {
+ // even if overlay is used, we want to handle
in-call/recording/hotspot larger status bar
+ CGRect statusBarFrame = [UIApplication
sharedApplication].statusBarFrame;
+ statusBarFrame = [self invertFrameIfNeeded:statusBarFrame];
+ CGRect frame = self.webView.frame;
+ frame.origin.y = statusBarFrame.size.height - 20;
+ frame.size.height -= statusBarFrame.size.height - 20;
--- End diff --
Might be slightly hacky, but is there a better way?..
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]