CB-6186 - Statusbar problems in Landscape Mode iOS 7

This commit is contained in:
Ryan Willoughby 2014-02-24 22:30:04 -08:00 committed by Shazron Abdullah
parent 3055b675a8
commit 69c1aee5ce

View File

@ -150,7 +150,11 @@ static const void *kStatusBarStyle = &kStatusBarStyle;
if (statusBarOverlaysWebView) {
[_statusBarBackgroundView removeFromSuperview];
if (UIDeviceOrientationIsLandscape(self.viewController.interfaceOrientation)) {
self.webView.frame = CGRectMake(0, 0, bounds.size.height, bounds.size.width);
} else {
self.webView.frame = bounds;
}
} else {