Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

iphonejudy

macrumors 6502
Original poster
Sep 12, 2008
301
1
Hi,


I want to animate activity indicator before table view is loaded and to stop after it is loaded?

Can we do this?

I used [activityIndicator startAnimating];
and [activityIndicator stopAnimating];

I dont know ,which event i need to call this,

In documents i saw some examples for webview,For webview,theres some start load and finishload methods are having.

For table view i cant see such methods.

Can anyone tell me solution for this problem?

judy
 
Why is your tableview taking so long to load? If you're using a slow resource (like the internet) you should really decouple the two things. You should display a skeleton outline of the tableview and update it as more information becomes available. To see what I mean look at how the Mail app fills in information as it loads stuff from the mail server.

If you do it like this your interface stays responsive and usable for the user. The fact it makes your life harder as a developer is not the user's problem.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.