UIWebViewNavigationType has been renamed to UIWebView.NavigationType
//4.0 func webView(_ webView: UIWebView, shouldStartLoadWith request: URLRequest, navigationType: UIWebViewNavigationType) -> Bool {
//4.2 func webView(_ webView: UIWebView, shouldStartLoadWith request: URLRequest, navigationType: UIWebView.NavigationType) -> Bool {
If this helped you, share and pass it on! 😀 ➡️ 🐦