Does anyone have a short example of how to implement the new UIRefreshControl into xcode. I have a UITableViewController which displays Tweets, want to be able to pull down and refresh.
Does anyone have a short example of how to implement the new UIRefreshControl into
Share
You can just set it up in your
viewDidLoad, if you have aUITableViewController:Then you can do your refresh stuff here:
When you are done with refreshing, call
[self.refreshControl endRefreshing];to stop the refresh control, as pointed out by rjgonzo.