StatusBar.hide(); shows empty space on top of screen ios


#1

When I run my app (code below) I can see the status bar disappear in the ios 8.0 ipad emulator. The space where the status bar used to be remains:

Same is true for my iPad physical device running iOS 6 (just saying, even though this is probably not supported anymore)

$ionicPlatform.ready(function() {
    if(window.StatusBar) {
      //StatusBar.styleDefault();
      StatusBar.hide();
    }
  });

Not sure if this helps but I can find the following CSS when debugging in Safari:

.platform-ios.platform-cordova:not(.fullscreen) .bar-header:not(.bar-subheader)
height: 64px; 

my ionic version

"version": "1.0.0-beta.13-nightly-667"

my plugins

cordova plugins
com.phonegap.plugins.barcodescanner 2.0.0 "BarcodeScanner"
org.apache.cordova.device 0.2.12 "Device"
org.apache.cordova.statusbar 0.1.8 "StatusBar"