leah / PullToRefresh

A simple iPhone TableViewController for adding pull-to-refresh functionality.
http://blog.leahculver.com/2010/07/iphone-pull-to-refresh.html
MIT License
1.91k stars 252 forks source link

'Loading' Cell doesn't disappear after load complete #6

Open ghost opened 13 years ago

ghost commented 13 years ago

The "Loading" cell with the rotating activity indicator will not disappear after I have refreshed. I think that this may be a problem with the way my Table Cells are created, as they call [tableView beginUpdates]; [tableView endUpdates]; to adjust for their web-based content.

ghost commented 13 years ago

I'm super clumsy with GitHub, I'm sorry. Anyway, thank you so much for making this open-source and available to everyone. I'll look for a way to fix this and I'll post it if I find it.

nehalvpatel commented 12 years ago

Ran into the same problem, try this:

// insert your own data update code here [self.tableView reloadData]; [self performSelector:@selector(stopLoading) withObject:nil afterDelay:1.0];