Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I show a loading bezel on the iPhone?

I'm building an application where it loads contents off of the web to populate a TableView.

I would like to add some sort of loading indicator so that the screen won't just contain the blank table.

I was thinking about something like this:


(source: iclarified.com)

I've been trying to look it up on documentation and Google, but to be honest don't know what to search for. Any pointers? Or is there any other way I should do this?

like image 860
changelog Avatar asked Feb 27 '23 19:02

changelog


1 Answers

Two possible ways to do it:

  1. The lazy way: Create a transparent PNG image containing the bezel and the loading... text. Display it on the screen and put a UIProgressView on top of it.
  2. The better way: Use http://github.com/jdg/MBProgressHUD
like image 158
kubi Avatar answered Mar 08 '23 08:03

kubi