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 badges
Add a ment  | 

1 Answer 1

Reset to default 4

It 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