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 ?