本文介绍了飞溅后的Ionic 3长白屏的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
有没有一种方法可以在我启动应用程序后立即获得它,然后我获得登录屏幕并乘坐SplashScreen.
Is there a way to get it as soon as i start my application and after that i get the login screen, and get ride of the SplashScreen.
还是一种修改方式,使我的动画成为我的SplashScreen?
Or a way to modify something so my animation become my SplashScreen ?
谢谢.
推荐答案
在config.xml中设置更长的超时时间,并在加载主屏幕时自行将其禁用.
Put a longer timeout in your config.xml and disable it yourself when your home screen is loaded.
config.xml
config.xml
<preference name="SplashScreenDelay" value="30000" />
app.component.ts
app.component.ts
platform.ready().then(() => {
splashScreen.hide();
});
这篇关于飞溅后的Ionic 3长白屏的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!