I have created UITableview and I added an activity indicator as subview on UITableview. What I want is for that activity indicator to animate for a moment before table loads. After the table loads, the activty indicator should disappear. I am using these methods:
[spinner startAnimating];
[spinner stopAnimating];
The problem is the activity indicator is not animated before the table loads on an iPhone. But if I remove this method:
[spinner stopAnimating];
then the activity indicator remains animated after the table has been loaded.
Tell me what I do to animated activity for a moment before then table load on Iphone