Shafi PS
Shafi PS

Reputation: 371

Phonegap 3.4.0 IOS Splash screen showing default

I am using Phonegap 3.4.0 for my IOS Project, Here i Replaced Default Splash screen from my Project to set my own Splash screen. But When app is launching old Splash screen showng.

Any idea to show my splash screen.

Thanks in advance...

Upvotes: 1

Views: 615

Answers (1)

Keith
Keith

Reputation: 21244

See the instructions here. The basic steps are:

  1. Add the feature tag to config.xml: <feature name="SplashScreen"> <param name="ios-package" value="CDVSplashScreen" /> </feature>

  2. Copy the splash screen images to Resources/splash.

  3. Call navigator.splashscreen.show() after the deviceready event fires.

If you use build.phonegap.com to build your app, you may need to specify the path to your splash screen in config.xml: <gap:splash src="splash.png" />

Upvotes: 1

Related Questions