mirror of
https://github.com/apache/cordova-plugin-statusbar.git
synced 2025-01-19 01:12:49 +08:00
Removed StatusBarStyle. iOS users should just use the UIStatusBarStyle key in Info.plist
This commit is contained in:
parent
690de48214
commit
c42b57e4dc
@ -26,7 +26,6 @@
|
|||||||
</feature>
|
</feature>
|
||||||
<preference name="StatusBarOverlaysWebView" value="true" />
|
<preference name="StatusBarOverlaysWebView" value="true" />
|
||||||
<preference name="StatusBarBackgroundColor" value="#000000" />
|
<preference name="StatusBarBackgroundColor" value="#000000" />
|
||||||
<preference name="StatusBarStyle" value="lightContent" /> <!-- default, lightContent, blackTranslucent, blackOpaque -->
|
|
||||||
</config-file>
|
</config-file>
|
||||||
|
|
||||||
<!-- add this manually for now, crash bug - see https://issues.apache.org/jira/browse/CB-5012
|
<!-- add this manually for now, crash bug - see https://issues.apache.org/jira/browse/CB-5012
|
||||||
|
@ -60,11 +60,6 @@
|
|||||||
if ([self settingForKey:setting]) {
|
if ([self settingForKey:setting]) {
|
||||||
[self _statusBarBackgroundColorByHexString:[self settingForKey:setting]];
|
[self _statusBarBackgroundColorByHexString:[self settingForKey:setting]];
|
||||||
}
|
}
|
||||||
|
|
||||||
setting = @"StatusBarStyle";
|
|
||||||
if ([self settingForKey:setting]) {
|
|
||||||
[self setStatusBarStyle:[self settingForKey:setting]];
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void) setStatusBarOverlaysWebView:(BOOL)statusBarOverlaysWebView
|
- (void) setStatusBarOverlaysWebView:(BOOL)statusBarOverlaysWebView
|
||||||
|
Loading…
Reference in New Issue
Block a user