cordova - Ionic4是否支持iOS10?
问题描述
我正在尝试为所有 iOS 设备构建我的 Ionic4 应用程序。它在 iOS11 上运行良好,但我也想让它在 iOS10 上运行,所以我尝试了所有的概率。
cordova plugin rm cordova-plugin-ionic-webview
cordova plugin add cordova-plugin-ionic-webview@2.3.1 --save-exact
<preference name="deployment-target" value="9.0" />
<preference name="UseScheme" value="true" />
解决方案
你可以试试我做的这个步骤:
将 cordova-plugin-ionic-webview 降级到 2.x (2.3/2.5)
config.xml 中的更改
在 app.component.ts
setTimeout(() => { this.splashScreen.hide(); }, 1000);
希望它会奏效!
推荐阅读
- sql - postgres:列出所有具有唯一索引的列名
- kubernetes - 使用 ip 列出 kubernetes pod 的 Ansible 剧本
- vbscript - VBS:InputBox 位置与从 WMIC 检索的屏幕尺寸不正确相关
- weka - 是否可以通过 Experimenter 模块输出训练数据的错误?
- amazon-web-services - 一个容器启动失败,为什么ECS任务失败?
- r - 控制流:如何让数据显示而不是索引
- python - 使用 Infinite Scroll 从网站抓取数据?
- javascript - 有人可以解释这个函数/参数吗?
- python - 迷宫节点扩展和O(n)研究
- cassandra - Cassandra CommitLog 目录忘记删除文件