WKWebView loads the link but I can not do anything on the site
ViewController
import UIKit
import WebKit
class promoVC: UIViewController{
@IBOutlet weak var webView: WKWebView!
override func viewDidLoad() {
super.viewDidLoad()
webView.navigationDelegate = self
webView.loadURL(strURL: "https://rh.mazza.tech/web/guest/webuser");
}
}
extension promoVC : WKNavigationDelegate{
func webView(_ webView: WKWebView, didFailProvisionalNavigation navigation: WKNavigation!, withError error: Error) {
print(error.localizedDescription)
}
func webView(_ webView: WKWebView, didStartProvisionalNavigation navigation: WKNavigation!) {
print("Webview is loading")
}
func webView(_ webView: WKWebView, didFinish navigation: WKNavigation!) {
print("")
}
}