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 -

c++ - How to test/verify that zero-initialization takes place -

node.js - Webpack/TypeScript Raising Errors When node_modules is Excluded -