Occasionally my table view won\'t be connected to a service to refresh, and in that case, I don\'t want the UIRefreshControl to be present.
After I add it in viewDid
You have several ways to do this. I think the best way is to do a check in the viewDidLoad method with:
if (condition){
//attach refreshControl
}
if this isn't possible the best way is put this code where you want to hide the refresh (I think in viewWillAppear method in if condition)
//End refresh control
[self.refreshControl endRefreshing];
//Remove refresh control to superview
[self.refreshControl removeFromSuperview];