Iphone X上的Ionic 3状态栏顶部间隙(带模拟器) [英] Ionic 3 statusbar top gap on Iphone X (w/ simulator)

查看:661
本文介绍了Iphone X上的Ionic 3状态栏顶部间隙(带模拟器)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有解决这个设计错误的工作技巧?

Is there any working trick to solve this design bug?

我正在使用cordova-plugin-ionic-webview,viewport-fit = cover已经添加到index.html。

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

推荐答案

它与状态栏插件有关,该插件已成功修复并合并,但尚未发布。您可以直接尝试该插件,因为您需要删除插件并从github url安装它 cordova插件添加https://github.com/apache/cordova-plugin-statusbar

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

更多信息请参考这个问题

这篇关于Iphone X上的Ionic 3状态栏顶部间隙(带模拟器)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆