I have an image-heavy web page I'm loading through a UIWebView. I display a spinner on webviewdidstartLoad and dismiss on webviewdidfinishLoad.

It's working OK, but the thing is, webviewdidfinishLoad doesn't get called until all the images on the page have been loaded.

Is there a way to detect DOM ready event so I can dismiss the spinner right after all the DOM elements have been loaded? Waiting for all the images takes too much time..

Related posts

Recent Viewed