I have a tableview that displays RSS feeds and I have successfully managed to integrate a pull to refresh control to gather the latest feeds.
However if there is no internet connection the tableview just refreshes infinitely and the
[self.refreshControl endRefreshing];
method is never called, leaving the tableview in a locked state of refreshing.
My question is how can I call the endRefreshing method if after a certain period of time the tableview is still refreshing?
e.g. after 10 seconds, if the tableview is still refreshing, the endRefreshing method is called.
thanks!