I know that one can implement a loading UIView
with the usual UIWebView
delegate methods webViewDidStartLoad:
and webViewDidFinishLoad:
However, this approach means you must wait for ALL images and .gif
's to entirely download before removing the loading view. As UIWebView
by default asynchronously (lazy) loads images on the page, I'd like to remove the loading view when the page is rendered, but not necessarily wait until the images are all downloaded.
I haven't found any resources on this, but I'm sure it's been done as it's a pretty important optimization. Any ideas?