admin管理员组文章数量:1332383
Is it possible to add gif or svg animation as a splash screen for Ionic Mobile App? I couldn't find any solution but it looks like a typical task. Maybe I missed the solution.
<gap:plugin name="org.apache.cordova.splashscreen" />
<feature name="SplashScreen">
<param name="android-package" value="org.apache.cordova.splashscreen.SplashScreen" />
<param name="ios-package" value="CDVSplashScreen" />
</feature>
<gap:splash src="img/splash.gif" />
<gap:splash src="img/splash.gif" gap:platform="ios" width="640" height="1136" />
If I put .png it works, but .png doesn't support animations.
Is it possible to add gif or svg animation as a splash screen for Ionic Mobile App? I couldn't find any solution but it looks like a typical task. Maybe I missed the solution.
<gap:plugin name="org.apache.cordova.splashscreen" />
<feature name="SplashScreen">
<param name="android-package" value="org.apache.cordova.splashscreen.SplashScreen" />
<param name="ios-package" value="CDVSplashScreen" />
</feature>
<gap:splash src="img/splash.gif" />
<gap:splash src="img/splash.gif" gap:platform="ios" width="640" height="1136" />
If I put .png it works, but .png doesn't support animations.
Share Improve this question edited Jun 29, 2015 at 15:20 user1107922 asked Jun 29, 2015 at 15:10 user1107922user1107922 6101 gold badge12 silver badges25 bronze badges1 Answer
Reset to default 4It is mentioned in the document that the only supported files are: png, psd, and ai.
Ionic Icon SplashScreen
If you want to customize, try this one it might help you:
Using Views Events To Create JavaScript Pure Ionic Splash Screen
本文标签: javascriptIonic animation for splash screenStack Overflow
版权声明:本文标题:javascript - Ionic animation for splash screen - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1742303981a2449543.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论