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
To hide refresh control and avoid warning Just use
Objective C
[self.refreshControl removeFromSuperview];
Swift
self.refreshControl.removeFromSuperview()