Just saying looking at it in Swift 3 and the answer from JAck helped me solve this problem:
in loadView () / viewDidLoad ()
webView.scrollView.bounces = true let refreshControl = UIRefreshControl() refreshControl.addTarget(self, action: #selector(ViewController.refreshWebView), for: UIControlEvents.valueChanged) webView.scrollView.addSubview(refreshControl)
and then a separate function
func refreshWebView(sender: UIRefreshControl) { print("refersh")
And now I see that the update has been printed.
source share