This commit is contained in:
Jesse MacFadyen 2015-11-16 17:54:08 -08:00
commit 1912d12697

View File

@ -444,8 +444,10 @@
self.inAppBrowserViewController = nil; self.inAppBrowserViewController = nil;
if (IsAtLeastiOSVersion(@"7.0")) { if (IsAtLeastiOSVersion(@"7.0")) {
if (_previousStatusBarStyle != -1) {
[[UIApplication sharedApplication] setStatusBarStyle:_previousStatusBarStyle]; [[UIApplication sharedApplication] setStatusBarStyle:_previousStatusBarStyle];
} }
}
_previousStatusBarStyle = -1; // this value was reset before reapplying it. caused statusbar to stay black on ios7 _previousStatusBarStyle = -1; // this value was reset before reapplying it. caused statusbar to stay black on ios7
} }