0
votes

I am using Sencha Touch and have my own animated splash screen there. I don't want to have default Corodva splash screen. I am using all latest version of sencha-cmd, corodva etc.

I tried a lot of things, - removing splash images from /Resources folder in xcode project. - changing cordova/config.xml to remove any splashscreen preferences - changing app.js file to remove any startup images reference.

but strangely I am not able to get rid of cordova splash screen (though I can replace it with any image i want), what could be the issue?

Please help.

1

1 Answers

2
votes

For Cordova there is a flag to disable the autoshow of the splashscreen.

You might want to install the splashscreen plugin for cordova.

But: The loading screen of Sencha Touch has to be inside the index.html and not inside Sencha, because that would need Sencha to be completly loaded.

The demo splash screen from Sencha is also inside the index.html. You can find the css in the top part and the divs for the loading screen at the bottom.

all platforms:

<!-- Define splashscreen name -->
<preference name="splashscreen" value="screen" />

Android:

<!-- Do not auto hide splash on Android -->
<preference name="SplashScreenDelay" value="0"/>

iOS:

<!-- Do not auto hide splash on iOS -->
<preference name="AutoHideSplashScreen" value="true" />