-
Notifications
You must be signed in to change notification settings - Fork 941
Closed
Description
In a project, we want to use the webview as a rich formatted text label. This label could contains links to some urls but tapping on it must not change the url of the webview as it is not meant to show other thing than the initial text.
It would be great if we could catch the event of tapping a url link in the webview so that we can extract the intent and open the browser application or do any other appropriate action.
For Android, this could be done using shouldOverrideUrlLoading in the WebViewClient.
On iOS, this could be done using webView:decidePolicyForNavigationAction:decisionHandler: of the WKNavigationDelegate of the webview.
5hanth and amanokerim
Metadata
Metadata
Assignees
Labels
No labels