Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 91519

HybridWebView LoadContent with base URL

$
0
0

Hi,

I'm trying trying to use the XLabs HybridWebView (HWV) to load HTML from a string while using resources from the assets/resources folders on iOS & Android.

If I'm using LoadFromContent with a file that's located in the assets folder, everything works, but naturally, if I'm using LoadContent with HTML as a string, the webview does not know that it should use the Assets/Resources folders for CSS, JavaScript etc.

Is it possible to tell it to do so with the current state of the HWV?


Viewing all articles
Browse latest Browse all 91519

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>