Reputation: 68790
I have a webView which displays a local html file loaded with jQuery etc. The page takes about 2 seconds to render.
Is there an event in the WebViewDelegate that says, "The page is rendered"?
Once I pass the HTML to the webview control returns immediately as the webview sets off working to render in som background task.
I need to know when it's done.
Upvotes: 0
Views: 209
Reputation: 22305
You're looking for webViewDidFinishLoad
. Here's Apple's documentation: UIWebViewDelegate Protocol Reference.
Upvotes: 1