Header bar causing spacing issues?


#1

Hey guys,

Currently after installing the statusbar cordova plugin to restyle my status bar - I seem to be getting this problem. Once I remove the code, it’s back to normal again?

Anyone come across this?

    ionic.Platform.ready(function() {
    StatusBar.overlaysWebView(false);
    StatusBar.backgroundColorByHexString("#539ed9");
  });


#2

Hi Papasmurfo

I think it may be worth playing with the ionic.Platform.fullsrceen function - it worked for me in statusbar/header bar issues i was having on ios7 devices

I use the following in .run

myApp.run(function() {
var showFullScreen = true,
showStatusBar = true;
ionic.Platform.ready(function(){
ionic.Platform.fullScreen(showFullScreen, showStatusBar);
});
});

cheers


Enable Android Statusbar / Disable Immersive Mode on KitKat
#3

See this conversation :