From ec5fa951df0c92c43a2d4c75c547ccc8f6216e94 Mon Sep 17 00:00:00 2001 From: Shazron Abdullah Date: Mon, 7 Oct 2013 16:30:16 -0700 Subject: [PATCH] Match statusbar style to default background color of #000000 --- src/ios/CDVStatusBar.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ios/CDVStatusBar.m b/src/ios/CDVStatusBar.m index bccb012..51efc3d 100644 --- a/src/ios/CDVStatusBar.m +++ b/src/ios/CDVStatusBar.m @@ -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]; }