Preload WebView in Xamarin Forms on iOS -
i have webview in contentpage instantiating , setting url webview in constructor. later showing contentpage pushmodalasync. thing is, webview doesn't seem attempting load until push. there way have preload in background instead of waiting until shown?
you can fetch content using httpclient , load webview html data
webview.source = new htmlwebviewsource() { baseurl = urlpreloaded, html = httpclientdata} in way, html data pre-loaded.
Comments
Post a Comment