Match statusbar style to default background color of #000000

This commit is contained in:
Shazron Abdullah 2013-10-07 16:30:16 -07:00
parent 4ddd82446a
commit ec5fa951df

View File

@ -48,6 +48,7 @@
_statusBarBackgroundView = [[UIView alloc] initWithFrame:frame];
_statusBarBackgroundView.backgroundColor = [UIColor blackColor];
[self styleLightContent:nil]; // match default backgroundColor of #000000
NSString* setting;
@ -87,7 +88,6 @@
bounds.size.height -= statusBarFrame.size.height;
self.webView.frame = bounds;
[[UIApplication sharedApplication] setStatusBarStyle:UIStatusBarStyleBlackOpaque];
[self.webView.superview addSubview:_statusBarBackgroundView];
}