Hiding and showing the iOS status bar in Phonegap 2.5.0

After setting up a new Phonegap 2.5.0 project in Xcode, I noticed the IDE was warning of a deprecation in the Phonegap sample app:

‘useSplashScreen’ is deprecated. Deprecated in Cordova 2.5. Add/Remove the SplashScreen plugin instead of setting this property.

Phonegap 2.5.0 includes a change to the way the application splash screen is shown and hidden, and this property is no longer used. Instead, the CDVSplashScreen plugin handles this duty and exposes a couple of additional properties, such as auto hide, show spinner etc. These are declared in the project config.xml file.

Continue reading

Advertisements