Ionic 3 statusbar top gap on Iphone X (w/ simulator) [duplicate]

 ̄綄美尐妖づ 提交于 2019-12-24 12:21:57

问题


Is there any working trick to solve this design bug?

I'm using cordova-plugin-ionic-webview, "viewport-fit=cover" has been added to index.html.


回答1:


It is related to the status bar plugin , which was fixed and merged successfully but it didn't release yet. you can try that plugin directly , for that you need to remove the plugin and installing it from the github url cordova plugin add https://github.com/apache/cordova-plugin-statusbar

More info refer this issue



来源:https://stackoverflow.com/questions/47135144/ionic-3-statusbar-top-gap-on-iphone-x-w-simulator

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!