Cordova iOS splashscreen configurations ignored

大城市里の小女人 提交于 2019-12-13 02:26:33

问题


I've just reconfigured my iOS Cordova splashscreen to Launch Storyboard in order to support iPhone X. This works, but now I have a white flash between the launch storyboard and the first screen of the app. I assume this is because the splashscreen is hidden before the viewport has fully loaded. Also my configurations not to automatically hide my splashscreen or to display it for 2 minutes are completely ignored. Why is this happening?

preference name="SplashScreen" value="splash" />
<preference name="AutoHideSplashScreen" value="false" />
<preference name="SplashScreenDelay" value="20000" />
<preference name="FadeSplashScreenDuration" value="300" />
<preference name="ShowSplashScreenSpinner" value="false" />
<preference name="SplashMaintainAspectRatio" value="false" />

来源:https://stackoverflow.com/questions/50951069/cordova-ios-splashscreen-configurations-ignored

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