Hi,
I do not want to show a status bar in my iOS app. Though the status bar is not being displayed there is the extra 20pt for the status bar. How can I solve this?
What have you done in your attempt to remove the status bar? Maybe somethingâs missing If you could paste what youâve added, thatâd be great!
Thanks for your reply. I call âStatusBar.hide();â on app start and have checked Hide Status Bar in the iOS project settings.
Maybe try adding this in your config.xml
inside your iOS platform: <preference name="StatusBarOverlaysWebView" value="true"/>
, Iâm not sure if it accomplishes the same as what you did in the project. Keep the StatusBar.hide();
.
Thank you, but did not help.
Maybe try this after you do the hide()
StatusBar.overlaysWebView(true);
Though I thought hide()
would do that as well⌠If itâs still no good, I donât know
IonicModule.forRoot(MyApp, {statusbarPadding: false}),
did the trick for me! Thanks!
Related topic:
thx it worked for me too
Please install three Cordova pluginsďź
1ăcordova-plugin-disable-ios11-statusbar
2ăcordova-plugin-statusbar
3ăcordova-plugin-wkwebview-engine
set propertyďź
viewport-fit=cover