-
When a link is opened in a new tab, webView.load() is called to get the web content. However, when a link is opened in current tab, I did not see webView.load() is called. Is webView.load() never called in this case? How does Firefox get the web content is this case then? |
Beta Was this translation helpful? Give feedback.
Answered by
lmarceau
Mar 9, 2022
Replies: 1 comment 2 replies
-
@njpig Click insides the webview are handled by WKWebView. There's a delegate called WKNavigationDelegate that provides methods to know when a link is opened in a web view, if it should be navigated to. |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
lmarceau
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@njpig Click insides the webview are handled by WKWebView. There's a delegate called WKNavigationDelegate that provides methods to know when a link is opened in a web view, if it should be navigated to.