How to intercept WebView Navigating event in ViewModel

后端 未结 2 1072
醉话见心
醉话见心 2021-01-22 03:09

My app has a WebView for displaying some contact information. It has a link to a website that I want to load externally using Device.OpenUri(). I\'m using FreshMvvm

2条回答
  •  野性不改
    2021-01-22 03:50

    You can´t navigate with a WebView, you must use a custom render (hybridwebview). Here is an explanation:

    https://developer.xamarin.com/guides/xamarin-forms/application-fundamentals/custom-renderer/hybridwebview/

提交回复
热议问题