Reputation: 1311
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.
Upvotes: 5
Views: 12708
Reputation: 380
use following preference tag. that works fine for me.
<preference name="StatusBarOverlaysWebView" value="true" />
Upvotes: 3
Reputation: 1426
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>
Upvotes: 4