After inAppbrowser Exit header goes under the status bar


#1

Hello,

i have this code

let browser = new InAppBrowser(URL, ‘_blank’,‘location=no,hardwareback=yes’);

After exitting this browser im getting the header under the status bar in IOS

I tried this approach but its not working with all pages:

let self=this;
  browser.on('exit').subscribe(function(event) {
    if (self.platform.is('ios')) {
    var IOSHeader = document.getElementById('HeaderMarginTop');
    self.renderer.setElementStyle(IOSHeader, 'top', '20px');
  }
  });

Please help!