Skip to content Skip to sidebar Skip to footer

Delay While Loading Locally Stored File On Webview

I am loading locally stored html(files with javascript) file on my webView. These files are loaded in my ViewController.swift. However, there is a delay of ~2-3 seconds when the ap

Solution 1:

This is a common problem occuring in UIWebView. My point is to make the web view initially hidden (showing some sort of "Loading..." indicator instead), then make it un-hidden in the webViewDidFinishLoad: method. and also you can refer this link UIWebView lower loading time with a more efficient way and Preloading webView doesn't work - trying to reduce loading time


Post a Comment for "Delay While Loading Locally Stored File On Webview"