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

Popular posts from this blog

how to insert data php javascript mysql with multiple array session 2 -

multithreading - Exception in Application constructor -

windows - CertCreateCertificateContext returns CRYPT_E_ASN1_BADTAG / 8009310b -