1

I am using ionic 3.8.0, and I find that when alert is present in iphoneX, the top and the grey backdrop of alert have a gap like the image below, everyone know how to fix it? thanks a lot. enter image description here

info:

cli packages: (/usr/local/lib/node_modules)

@ionic/cli-utils  : 1.15.2
ionic (Ionic CLI) : 3.15.2
global packages:

cordova (Cordova CLI) : 7.1.0 
local packages:

@ionic/app-scripts : 3.0.1
Cordova Platforms  : android 6.3.0 ios 4.5.3
Ionic Framework    : ionic-angular 3.8.0
System:
ios-deploy : 1.9.2 
ios-sim    : 5.0.13 
Node       : v7.10.0
npm        : 5.5.1 
OS         : macOS Sierra
Xcode      : Xcode 9.0.1 Build version 9A1004 
nvironment Variables:

ANDROID_HOME : not set
Misc:

backend : legacy
Nulra
  • 547
  • 5
  • 19
  • https://stackoverflow.com/questions/47135144/ionic-3-statusbar-top-gap-on-iphone-x-w-simulator – Suraj Rao Nov 06 '17 at 11:21
  • Thanks @SurajRao, it works – Nulra Nov 07 '17 at 03:33
  • 1
    @SurajRao I use the method that you provided and iOS is working fine now. But I discover when I build android app, the statusbar of android will disappear the information, just remain the black blank statusbar. – Nulra Nov 09 '17 at 07:52
  • @Nulra Were you able to fix the android status bar problem? I have the same problem in my app. – toxinlabs Nov 25 '17 at 14:46
  • @toxinlabs i am using cordova plugin add https://github.com/apache/cordova-plugin-statusbar and it solve my problem – Nulra Nov 25 '17 at 14:47

0 Answers0