I am trying to add a UIRefreshControl to a UITableView, which is in a UINavigationController. I have tried setting tableView.refreshControl = refreshControl, but it doesn't work properly. How can I properly add a UIRefreshControl without a storyboard?
Edit: I have narrowed it down to .prefersLargeTitles = true Removing it fixes the problem, but I want to keep large titles
You have to add refreshControl as below