Reputation: 371
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
Reputation: 21244
See the instructions here. The basic steps are:
Add the feature tag to config.xml:
<feature name="SplashScreen">
<param name="ios-package" value="CDVSplashScreen" />
</feature>
Copy the splash screen images to Resources/splash.
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