App从桌面启动要卡两秒才能跳出界面,这个能否优化下。包括官方案例也是这样,体验不好,像手机用久了卡一样
如下图

- 发布:2023-01-22 14:29
- 更新:2023-02-09 12:09
- 阅读:508
App从桌面启动要卡两秒,这个能否优化下

最佳回复

这是为了避免启动闪屏做的特殊处理,Android平台如果想要点击桌面图标立即启动到splash界面,可以使用“自定义启动图”,参考:https://uniapp.dcloud.net.cn/tutorial/app-splashscreen.html#%E8%87%AA%E5%AE%9A%E4%B9%89%E5%90%AF%E5%8A%A8%E5%9B%BE

FullStack - 【插件开发】【专治疑难杂症】【ios上架、马甲包、白包、过审、已成功上架过几百个】【多款插件已上架:https://ext.dcloud.net.cn/publisher?id=22130】【非诚勿扰】QQ:543610866
是说启动页卡两秒,manifest.json->App启动界面配置->等待首页渲染完毕后再关闭Splash图