Open Safari When Link Is Clicked In Webview

I have local html files that I’m viewing in a WebView.  I want links clicked in those local html files to open in Safari, rather than in the webview I’m using. Is there something I can do in my code or in the local html files to make this possible? Thanks

In the listener for the webview, you should get the URL clicked.  Instead of letting the listener process it itself, you could have it call system.openURL() instead.

Thanks, that works nicely.

In the listener for the webview, you should get the URL clicked.  Instead of letting the listener process it itself, you could have it call system.openURL() instead.

Thanks, that works nicely.