No status bar if setRoot() from a ModalController


The status bar is missing in iOS if I run this.navCtrl.setRoot(WelcomePage) from a ModalController.

If I change the ModalController to become another page, the same code will work with the status bar.

Any idea why?


the modal opens as part of the page you opened it from so you still have the status bar you just cant see it cause the modal is in front.

hope im right.


What I meant is that, if I go from a tabView to a modalView and when I click logout, I want to setRoot from the modalView, it will have the statusbar missing