Ian Vink
Ian Vink

Reputation: 68790

iPhone/iPad webview - Event fired after HTML is rendered?

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

Answers (1)

Matthew Frederick
Matthew Frederick

Reputation: 22305

You're looking for webViewDidFinishLoad. Here's Apple's documentation: UIWebViewDelegate Protocol Reference.

Upvotes: 1

Related Questions