In my app, I need a way to tell when my webview is finished loading. It is very easy to do that if content is html. However, my content source is javascript with iFrame inside,
To tell if a webview is loading, you can use
webView.isLoading
to check if all the frames of a webview are done loading. No counting the number of iframes necessary. Simply check if isLoading
is true inside webViewDidFinishLoad:
http://developer.apple.com/library/ios/#documentation/uikit/reference/UIWebView_Class/Reference/Reference.html