Third time posting this, Appcelerator please respond: Activity indicator on splash screen?
Sorry for posting this question yet again, really hoping for a response from Appcelerator. Previously posted question here and here.
Back in mobile SDK 0.8.x I think it was, there was an activity indicator that would appear over the splash screen while an app loads. Is it possible to enable that in the 1.x SDK? Or to use an animated GIF? Would really like to have that as an option in my apps.
5 Answers
-
Accepted Answer
there's not a built-in way to do that since you control when the splash screen goes away (i.e., when you open a tab group or a window). in 0.8, we controlled when the splash screen went away.
the best option I can think of is to have a secondary splash screen that is actually a window (and could use the same splash screen image as its background image). you could open this window immediately (first line of app.js) and display a native activity indicator in the center. once you are ready to load your app you could close that window.
just a thought
-
I've found it effective to put a setTimeout on the function that opens your first window. Time it out to like 4000, and your splash screen will linger wonderfully.
-
I'm quite sure there is an activity indicator on the splash screen (1.x SDK)
It's default so you should see it when you create a fresh app. -
Hi Sam,
I just tried creating a new project using Developer 1.2.1, mobile SDK 1.2.0 and iPhone SDK 3.1, and unfortunately I don't see an activity indicator on the splash screen.
-
Thanks Nolan!