gpt4 book ai didi

ios - Cordova iPhone X 启动图像最初在底部显示白色区域

转载 作者:可可西里 更新时间:2023-11-01 05:39:55 25 4
gpt4 key购买 nike

还有其他人遇到过这个问题吗?见附图。

iPhone X 模拟器上的 Cordova ios 启动图像最初在底部显示白色区域一秒钟,然后在状态栏文本颜色更改时跳转到全屏:

enter image description here enter image description here

我设置了 viewport-fit=cover 并且启动图像是:

Default@2x~iphone~anyany.png (= 1334x1334 = 667x667@2x)
Default@2x~iphone~comany.png (= 750x1334 = 375x667@2x)
Default@2x~iphone~comcom.png (= 750x750 = 375x375@2x)
Default@3x~iphone~anyany.png (= 2436x2436 = 812x812@3x)
Default@3x~iphone~anycom.png (= 2436x1242 = 812x414@3x)
Default@3x~iphone~comany.png (= 1242x2436 = 414x812@3x)
Default@2x~ipad~anyany.png (= 2732x2732 = 1366x1366@2x)
Default@2x~ipad~comany.png (= 1278x2732 = 639x1366@2x)

相关:Cordova app not displaying correctly on iPhone X (Simulator)

最佳答案

这已在 cordova-ios@4.5.4 中修复(参见 release notes ),因此解决方案是更新到最新的 cordova-ios 平台版本:

cordova platform rm ios && cordova platform add ios@latest

它在错误报告中被捕获为 CB-13505并固定在 PR cordova-ios#354 .

关于ios - Cordova iPhone X 启动图像最初在底部显示白色区域,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/47467176/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com