I have a problem using the bar-header component of the ionic-framework. I always have a padding-top of a few pixels (see screenshot). I'm using the cordova plugin org.apache.cordova.statusbar
to hide the status bar like this:
if(window.StatusBar) {
StatusBar.hide();
StatusBar.overlaysWebView(false);
}
Any help will be highly appreciated.
If you installed the plugin correctly it should be enough to just call
ionic.Platform.fullScreen();
right after you hide the statusbar.
This should probably remove the space at top of your app.