LightNight
LightNight

Reputation: 1625

How to know UIWebView has finished loading

how can I check when user clicks and page has loaded? Delegate
- (void)webViewDidFinishLoad:(UIWebView *)webView Not working..

Upvotes: 1

Views: 2172

Answers (1)

Morten Fast
Morten Fast

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

Related Questions