Add UIActivityIndicator to UITableView
I have seen a开发者_如何学运维 lot of explanation about this in other posts but nothing that actually works.
I have a uitableview that takes a few seconds to populate from an rss feed. in viewdidload I want to start animating the indicator. I want to end it when my data loads.
Does anyone have a solution for doing this through code and not through interface builder?
Take a look at the Three20 library: https://github.com/facebook/three20
It has Table View component that does what you need out of the box. I imagine it'll be a lot easier to integrate this than trying to recreate the whole thing from scratch
精彩评论