Best way to show a loading screen in an iPhone app?

Posted by pkulak on Stack Overflow See other posts from Stack Overflow or by pkulak
Published on 2010-04-08T23:58:39Z Indexed on 2010/04/09 0:03 UTC
Read the original article Hit count: 274

Filed under:
|

I'm building what is essentially a web app. Every piece of data has to be fetched from a web API. So, every UITableView that I show takes some amount of time to fill with data and I'm struggling to find a good way to show the user a loading screen.

Right now I'm popping up an action sheet, but that just seems a bit wrong. Ideally, I'd popup up a blank view over the tableview with "Loading..." on it, then fade it away when the data comes in, but I can't think of a way to do that in 8 places in my app without massive code duplication.

© Stack Overflow or respective owner

Related posts about iphone

Related posts about cocoa-touch