UIWebView : Load percentage information

I need to get information on loaded data percentage when UIWebView loads page.

I know that UIWebView does not provide corresponding API.

I would like to know is there any workaround ?

Answers


One approach is to use an external framework (ASIHTTP, AFNetworking) that gives you some progress information to get the data, then load it into the UIWebView using – loadHTMLString:baseURL:.

ASIHTTP, although not actively developed anymore, has a very nice class for your case:

ASIWebPageRequest - download complete webpages, including external resources like images and stylesheets. Pages of any size can be indefinitely cached, and displayed in a UIWebview / WebView even when you have no network connection.


Need Your Help

coldfusion and reading JSON data from web service into a cf query

sql json web-services api coldfusion

I am using the following code to obtain data from a webservice and it returns the data in json format

JavaScript to Alternate Between 2 MS Charts Using Radio Buttons

javascript asp.net vb.net

I have 2 MS charts that I want to alternate between, depending on which radio button is selected. I'm having multiple issues with this. Using JavaScript, ASP.NET, and VB.