3 Replies
      Latest reply on Dec 30, 2019 8:04 AM by johng@infinityworks
      zxhfirefox Level 1 Level 1 (0 points)

        In my code, I found that WebView does not call delegate method

        - (void)webView:(WKWebView *)webView decidePolicyForNavigationAction:(WKNavigationAction *)navigationAction decisionHandler:(void (^)(WKNavigationActionPolicy))decisionHandler

        when the user clicks a link, which the href of a tag is a relative path.

        This delegate is called if href is a full path.


        Is this default behavior? or how can I know that the user click a link with relative path ?