diff --git a/src/ios/CDVStatusBar.m b/src/ios/CDVStatusBar.m index dcfb88f..23c983a 100644 --- a/src/ios/CDVStatusBar.m +++ b/src/ios/CDVStatusBar.m @@ -445,6 +445,8 @@ static const void *kStatusBarStyle = &kStatusBarStyle; if (UIInterfaceOrientationIsPortrait([[UIApplication sharedApplication] statusBarOrientation])) { self.viewController.view.frame = bounds; + } else if (self.viewController.presentedViewController != nil) { + bounds = CGRectMake(0, 0, bounds.size.height, bounds.size.width); } self.webView.frame = bounds;