PDA

View Full Version : Updating overlay (ala Facebook)




russellelly
Dec 30, 2008, 03:26 AM
Good morning (again!).

While my app is connecting to the internet and downloading data I'd like an updating overlay, exactly like what the Facebook app has when you shake on its homescreen.

I've had a good search at UIView (including Modal Views), but can't see what I'm looking for. Any ideas on the API?

Thanks in advance :)



CommanderData
Dec 30, 2008, 07:54 AM
I don't use facebook so I'm not sure what you see with their app, but maybe you can use UIActivityIndicatorView?

If that is not suitable you'll probably have to make something custom with a CALayer and another thread to download and animate your progress on the main thread. I'd imagine that whatever you've seen on the facebook app takes this approach as it would give the most interesting results :)