0
Ich habe das Problem, dass auf meiner Ionic View gibt es keinen Platz an der Spitze. Die iOS-Statusleiste liegt also über dem Ionenkopf. Leider konnte ich es auf Android noch nicht testen.iOS Statusleiste über den Inhalt in Ionic 2
Das ist mein HTML-Code:
<ion-header>
<ion-navbar>
<ion-buttons start>
<button menuToggle>
<ion-icon name="menu"></ion-icon>
</button>
</ion-buttons>
<ion-title>spots</ion-title>
<ion-buttons end>
<button menuToggle>
<ion-icon name="menu"></ion-icon>
</button>
</ion-buttons>
</ion-navbar>
</ion-header>
und dies in den app.ts:
initializeApp() {
this.platform.ready().then(() => {
// Okay, so the platform is ready and our plugins are available.
// Here you can do any higher level native things you might need.
StatusBar.styleDefault();
});
}