ios: added InAppBrowserStatusBarStyle preference (#728)
This commit is contained in:
parent
91ebdf2776
commit
2a28e09a70
@ -1055,8 +1055,13 @@ BOOL isExiting = FALSE;
|
||||
|
||||
- (UIStatusBarStyle)preferredStatusBarStyle
|
||||
{
|
||||
NSString* statusBarStylePreference = [self settingForKey:@"InAppBrowserStatusBarStyle"];
|
||||
if (statusBarStylePreference && [statusBarStylePreference isEqualToString:@"lightcontent"]) {
|
||||
return UIStatusBarStyleLightContent;
|
||||
} else {
|
||||
return UIStatusBarStyleDefault;
|
||||
}
|
||||
}
|
||||
|
||||
- (BOOL)prefersStatusBarHidden {
|
||||
return NO;
|
||||
|
Loading…
Reference in New Issue
Block a user