开发者

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 p开发者_如何学JAVAage 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.


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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜