Saturday, October 10, 2026
HomeiOS DevelopmentCordova iOS Statusbar StatusBarOverlaysWebView padding high

Cordova iOS Statusbar StatusBarOverlaysWebView padding high

[ad_1]

My objective is to make my app on full display and for this objective I exploit two capabilities:

StatusBar.overlaysWebView(true);
StatusBar.conceal();

That is work for Android OS however on iPhone I’ve a physique margin equals to standing bar top. I do not perceive why, it is appears like:

enter image description here

(Orange is margin equals to statusbar top and violet is the )

I do know It is attainable to make full display as a result of I’ve an different Ionic app with Cordova and once I conceal standing bar my app begin at high of telephone.

In my css I’ve margin and padding at 0.
I do know the overlay is nicely taken under consideration as a result of my physique with 100vh outrun top of display simply my physique dosn’t begin à high of display.

[ad_2]

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments