I have defined
<preference name="Fullscreen" value="true"/>
But deploying through Xcode it ignores this. Even if I set hide status bar on the build settings. All my other config.xml settings seem to work, but not this.
Fullscreen
does not work on iOS 7 and above. Instead you can use Cordova HiddenStatusbarOverlay Plugin to hide the statusbar.
Another way to hide it is to use a gap:config-file element to overwrite the UIViewControllerBasedStatusBarAppearance
property:
<gap:config-file platform="ios" parent="UIViewControllerBasedStatusBarAppearance" overwrite="true">
<false/>
</gap:config-file>
use following preference tag. that works fine for me.
<preference name="StatusBarOverlaysWebView" value="true" />
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With