Ionic - View without heade - iOS


I have a requirement where I don’t need header on my page. I am hiding header as below.
<ion-view hide-nav-bar="true">

But after doing that, on iOS, my content is interfering with status bar. As I scroll content up, its overlapping with status bar as in below screen shot.

on Android its working fine, where status bar is not transparent and content are scrolling up from behind status bar.

I have cordova-plugin-statusbar plugin already added.


How? Please show some code.

<ion-view hide-nav-bar="true">

Do you use ionic.Platform.fullScreen(true, false) ?

I was not using this, after adding this, it is hiding status bar now.
I would like to have status bar.

after setting ionic.Platform.fullScreen(true, true) , it shows status bar, but behavior is still the same.