How to know UIWebView has finished loading
how can I check when user clicks and page has load开发者_StackOverflow中文版ed? Delegate
- (void)webViewDidFinishLoad:(UIWebView *)webView
Not working..When the user taps a link, the UIWebView
's delegate is sent the message webView:shouldStartLoadWithRequest:navigationType:
and when the content is done loading, it sends the message webViewDidFinishLoad:
.
Make sure you've set the delegate
property on the web view.
精彩评论