我们如何在离子应用程序中隐藏启动画面?
How we can hide splash screen in ionic app?
在 ionic 应用程序中有隐藏或不显示启动画面的方法,电容器中的启动画面时间较少或 cordova 中的启动画面时间较少,以及如何减少 ionic 应用程序中的启动画面时间。谢谢 (-:
这是一个禁用启动画面的调整。
在 config.xml 文件中:
<preference name="SplashScreenDelay" value="0" />
您可以使用 config.xml 文件中的以下设置进一步更改其行为:
<preference name="FadeSplashScreenDuration" value="100" />
<preference name="SplashShowOnlyFirstTime" value="true" />
<preference name="SplashScreen" value="screen" />
更多设置,请查看启动画面文档:https://github.com/apache/cordova-plugin-splashscreen#configxml
要添加自定义动画启动画面,请遵循此link:https://angularfirebase.com/lessons/generate-a-custom-spash-screen-and-icons-in-ionic/
在 ionic 应用程序中有隐藏或不显示启动画面的方法,电容器中的启动画面时间较少或 cordova 中的启动画面时间较少,以及如何减少 ionic 应用程序中的启动画面时间。谢谢 (-:
这是一个禁用启动画面的调整。 在 config.xml 文件中:
<preference name="SplashScreenDelay" value="0" />
您可以使用 config.xml 文件中的以下设置进一步更改其行为:
<preference name="FadeSplashScreenDuration" value="100" />
<preference name="SplashShowOnlyFirstTime" value="true" />
<preference name="SplashScreen" value="screen" />
更多设置,请查看启动画面文档:https://github.com/apache/cordova-plugin-splashscreen#configxml
要添加自定义动画启动画面,请遵循此link:https://angularfirebase.com/lessons/generate-a-custom-spash-screen-and-icons-in-ionic/