extension WebVC: UIWebViewDelegate { func webViewDidFinishLoad(_ webView: UIWebView) { print("Finished loading") } }