cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From shaz...@apache.org
Subject [23/40] git commit: Match statusbar style to default background color of #000000
Date Mon, 04 Nov 2013 22:05:37 GMT
Match statusbar style to default background color of #000000


Project: http://git-wip-us.apache.org/repos/asf/cordova-plugins/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugins/commit/02d77a08
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugins/tree/02d77a08
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugins/diff/02d77a08

Branch: refs/heads/master
Commit: 02d77a08309ea5934ab0648c0370de02886eb209
Parents: 254410f
Author: Shazron Abdullah <shazron@apache.org>
Authored: Mon Oct 7 16:30:16 2013 -0700
Committer: Shazron Abdullah <shazron@apache.org>
Committed: Mon Oct 7 16:30:16 2013 -0700

----------------------------------------------------------------------
 statusbar/src/ios/CDVStatusBar.m | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-plugins/blob/02d77a08/statusbar/src/ios/CDVStatusBar.m
----------------------------------------------------------------------
diff --git a/statusbar/src/ios/CDVStatusBar.m b/statusbar/src/ios/CDVStatusBar.m
index bccb012..51efc3d 100644
--- a/statusbar/src/ios/CDVStatusBar.m
+++ b/statusbar/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];
     }
     


Mime
View raw message