[SOLVED] [V2] Statusbar not showing in iPhone X

Hello again.

I try to debug my app in the Simulator, but there is a white padding on the top of the app, instead the statusbar.

I’ve used viewport-fit=cover, and using Storyboard splash screen, but nothing works in my case. Am I missing something?

35

haven’t test it buy you may try below css, let me know if it works or not pls:

body{
    padding-top: constant(safe-area-inset-top);
    padding-right: constant(safe-area-inset-right);
    padding-bottom: constant(safe-area-inset-bottom);
    padding-left: constant(safe-area-inset-left);
    padding-top: env(safe-area-inset-top);
    padding-right: env(safe-area-inset-right);
    padding-bottom: env(safe-area-inset-bottom);
    padding-left: env(safe-area-inset-left);
}

i’ve tried it, but it affects to the other elements.
such as the toolbar links are right behind the iphone x home button.

and the white padding still exists.

Ah, my bad :sweat_smile::sweat_smile:

I use the older version of the status bar plugin.
I updated it, and now works flawlessly :+1: