App goes "behind" the status bar during a phone call on iOS


if during a phone call on iOS I go back to my ionic app, the app appears behind the status bar and it’s not resized to fit under it. Any idea on how I can change this behavior? I tried to set autoResizingMask on the webView to UIViewAutoresizingFlexibleHeight in MainViewController but the problem remains.


this is actually not an ionic issue , it’s status bar plugin issue

so if u downgrade the version of status bar plugin to 1.0.1 it will work

or u can using latest version of this plugin but set this in your config.xml:

<preference name="StatusBarOverlaysWebView" value="false" />

and u should make ionic doesn’t calc status bar space , so u should change value of variable in ionic scss from 20px to be 0px:

$ios-statusbar-height: 0px;

and it will work like a charm :slight_smile: