79567740

Date: 2025-04-10 23:46:04
Score: 0.5
Natty:
Report link

If you only want to obtain which page the webview has navigated to, you can add the following WKNavigationDelegate method to obtain it:


    func webView(_ webView: WKWebView, didFinish navigation: WKNavigation!) {
        print("the web view has navigated to: \(webView.url?.absoluteString ?? "")")
    }
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: MorganChen