mirror of
https://github.com/apache/cordova-plugin-statusbar.git
synced 2025-01-31 18:52:53 +08:00
CB-6186 - Statusbar problems in Landscape Mode iOS 7
This commit is contained in:
parent
3055b675a8
commit
69c1aee5ce
@ -150,7 +150,11 @@ static const void *kStatusBarStyle = &kStatusBarStyle;
|
|||||||
if (statusBarOverlaysWebView) {
|
if (statusBarOverlaysWebView) {
|
||||||
|
|
||||||
[_statusBarBackgroundView removeFromSuperview];
|
[_statusBarBackgroundView removeFromSuperview];
|
||||||
|
if (UIDeviceOrientationIsLandscape(self.viewController.interfaceOrientation)) {
|
||||||
|
self.webView.frame = CGRectMake(0, 0, bounds.size.height, bounds.size.width);
|
||||||
|
} else {
|
||||||
self.webView.frame = bounds;
|
self.webView.frame = bounds;
|
||||||
|
}
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user