Can I load a local HTML file (with images and …) into a WebView?
Just setting the Source parameter does not do the trick.
Can I load a local HTML file (with images and …) into a WebView
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can load it from a file as long as the file is part of the app package, e.g.:
From WebView.Navigate
For a ‘random’ file, I suppose you could prompt user via file picker to select the file then read it into a string and use NavigateToString, but the user experience there may be a bit odd depending on what you’re trying to accomplish.