2016-09-15 74 views

回答

3
您的WebView

捕捉Navigating Event,並呼籲Device.Open(your uri)

webview.Navigating += (s, e) => 
      { 
       if (e.Url.StartsWith("http")) 
       { 
        try 
        { 
         var uri = new Uri(e.Url); 
         Device.OpenUri(uri); 
        } 
        catch (Exception) 
        { 
        } 

        e.Cancel = true; 
       } 
      }; 
+0

其正常工作。 –

相關問題