[iOS] Change Status/NotificationBar Background Color Problem


#1

Hi guys i have the problem that in ionic View the Statusbar is Black on Android but in Ionic View for iOS it is White. But i want it Black on both Devices.
Is this an Ionic View problem or a code problem?

I already tried:

  //App init
  initializeApp() {
    this.platform.ready().then(() => {
      //Was gemacht wird wenn alles geladen wurde
      StatusBar.overlaysWebView(false); 
      StatusBar.styleBlackTranslucent();   
      StatusBar.backgroundColorByName('black');
      Splashscreen.hide();
    });

And yes the plugin is installed. But this doesnt seems to work.
Help me pls


#2

It seems that its a Ionic View Problem if you got the white status bar.
Because the Cordova Status Bar Plugon is a native Plugin and seems only to work if you test it as a native app.