I have enabled refreshing in my tableview.
I have registered a Action parameter and i want stop the activity indicator from spinning once the table has stopped reloaded. When i researched on this, i learned that i should add a block and execute the success clause if the table has refreshed and if not display an error if not.
How can i add a block that suites my needs.
- (IBAction)refresh:(UIRefreshControl *)sender {
[self.tableView reloadData];
[sender endRefreshing];
}