The StatusBar on this page is different from other pages, so how can I change it?
I tryed this.
in app.component.ts:
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.styleLightContent();
}
then in special page:
ionViewDidLoad() {
StatusBar.styleDefault();
}
ngOnInit() {
StatusBar.styleDefault();
}
not working, anyone can help me, please? thanks.