Updating overlay (ala Facebook)

Discussion in 'iOS Programming' started by russellelly, Dec 30, 2008.

  1. macrumors regular

    Jun 23, 2006
    Glasgow, UK
    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 :)
  2. macrumors regular

    Dec 1, 2007
    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 :)

Share This Page