Reputation: 1625
how can I check when user clicks and page has loaded? Delegate
- (void)webViewDidFinishLoad:(UIWebView *)webView
Not working..
Upvotes: 1
Views: 2172
Reputation: 6320
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.
Upvotes: 1