简体   繁体   中英

Xamarin.Forms - Webview (with local files) not working on Windows Phone 8.1 & 10

I want to use WebView to access local HTML files (in Xamarin.forms) on windows phone 8.1/10. I have it successfully working on Android however on windows phone, I get an error that says "Action was Cancelled" (Testing on Lumia 950).

I am new to Xamarin and went through the documentation on their website, the sample they have provided works with windows phone 8.0 and seems outdated as I was unable to deploy that (sample project) on to my Lumia 950.

Please help out on how to approach this issue.

Please check your HTML, something is wrong. Try to display something like

<h1>Hello</h1>

It should be fine

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM