set duration splashscreen in config.xml (ios)?

  • 1
  • Question
  • Updated 6 years ago
How to maintain and hide the splashscreen in phonegap manually build (3.1.0) on iOS?
in this documentation:
http://docs.build.phonegap.com/en_US/...
is not a preference to keep the splashscreen.

Mateo
Photo of Mateo Menestrina

Mateo Menestrina

  • 27 Posts
  • 0 Reply Likes

Posted 6 years ago

  • 1
Photo of Zahir

Zahir

  • 3500 Posts
  • 40 Reply Likes
Hello Mateo,

The option to extend splash screen timeout  can be configured via config.xml.
Splashscreen duration.
  • Splash-screen-duration with a value in milliseconds defaults to 5000 (5 seconds).
  • Example: <preference name="splash-screen-duration" value="10000" />
  • For auto-hide behaviour call navigator.splashscreen.hide(); in the device-ready method