0
votes

My app has a splash image the is the same as the background image of the first screen of the app. So when starting the app, the transition from the splash screen to the app is smooth - you see the splash and the just buttons that appear - you don't see the background moving, or changing not even in one pixel.

I've started writing my app with sdk 5.1.2 - and that worked great for me.

I've upgraded my app to use the new 5.2.0 SDK (still using regular splash and not the storyboard). In the new SDK the splash shows, then fades out, then you see a black screen, then you see the main page of the app appear. Far from being the smooth transition of 5.1.2.

If I go back to older SDK version - I don't have the problem - but I don't want to get stuck behind in SDK versions - I want to be able to enjoy new features and bug fixes.

Anyone know if it's something that was changed on purpose? or if there is some workaround?

2
Could you provide a test app? I just upgraded a personal app from 5.1.2.GA to 5.2.0.GA and I see no difference.Fokke Zandbergen
now I'm facing another strange behaviour - after going back to 5.2.0 I don't have my splash any more - just storyboard splash. setting enable-launch-screen-storyboard to false doesn't help.developer82
You say "after going back to 5.2.0", but didn't you go from 5.1.2 to 5.2.0? Could you please provide exact steps, because it sure looks like something odd is going on. Please create a JIRA ticket so we can discuss it there since it definitely looks like its heading to a bug ;)Fokke Zandbergen
sure. will create one. after removing the app and reinstalling it than I see my splash back - not the storyboard image. and the fade is faster - so now it just looks like fast flickering. will try to reproduce in side project.developer82
It's really weird because looking at the source at github.com/appcelerator/titanium_mobile/blob/… it looks like unless you have the flag in tiapp.xml it will disable storyboardsFokke Zandbergen

2 Answers

1
votes
0
votes

I had the same issue. I added the following to the tiapp.xml:

<ios>
    <default-background-color>#ffffff</default-background-color>

. . .

You still get a blank screen before the app starts up but at least the screen is solid white which matches my theme better than the black screen.