mirror of
https://github.com/apache/cordova-plugin-statusbar.git
synced 2026-04-27 00:00:06 +08:00
StatusBar - remove dependence of UIViewControllerBasedStatusBarAppearance Info.plist key
This commit is contained in:
-12
@@ -28,21 +28,9 @@
|
||||
<preference name="StatusBarBackgroundColor" value="#000000" />
|
||||
</config-file>
|
||||
|
||||
<!-- add this manually for now, crash bug - see https://issues.apache.org/jira/browse/CB-5012
|
||||
<config-file target="*-Info.plist" parent="UIViewControllerBasedStatusBarAppearance" >
|
||||
<key>UIViewControllerBasedStatusBarAppearance</key>
|
||||
<false/>
|
||||
</config-file>
|
||||
-->
|
||||
|
||||
<header-file src="src/ios/CDVStatusBar.h" />
|
||||
<source-file src="src/ios/CDVStatusBar.m" />
|
||||
|
||||
<info>
|
||||
Add this key and value to your project's Info.plist:
|
||||
<key>UIViewControllerBasedStatusBarAppearance</key>
|
||||
<false/>
|
||||
</info>
|
||||
</platform>
|
||||
|
||||
</plugin>
|
||||
|
||||
Reference in New Issue
Block a user