Keep splash image in first window without animation/glitches

You must Login before you can answer or comment on any questions.

Hi

I'm trying to keep splash image without any animation or glitches. My first window has the same background as splash screen, but with text overlays. Without animation, app shows a blank screen while image is loaded (iPhone 3GS, small processor). ¿Can I avoid this problem in any way?

Thanks

2 Answers

Hi David

Have you tried setting the background of the app to the static image you want first and then loading your window with the same graphic and text overlays.

Try this line at the very top of your app.js

Ti.UI.setBackgroundImage('back.png');  // use your own graphic
This maybe enough to reduce the flicker effect you are seeing as this sets the app background to this value.

You can also remove afterwards with.

Ti.UI.setBackgroundImage(undefined);

Thanks Malcolm, but didn't worked for me. In an iPhone 3GS still appears a blank screen because background image takes 1 or 2 seconds. The image I'm using is a 500kb PNG, so I will try to add some timeout and reduce image size.

Your Answer

Think you can help? Login to answer this question!