I'd like to open a webpage using the webbrowser on the device. Right now I use a WebView, but I want to let the user choose between Chrome, Safari or any other webbrowser currently on the device. Is there any way to do this?
var url = "http://www.google.com";
Device.OpenUri(new Uri(url));
And this uses the default browser to open the url.
Source: https://forums.xamarin.com/discussion/comment/94202#Comment_94202
API Docs: Xamarin.Forms.Device.OpenUri
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With