I want to do some extra work after the webpage is loaded, so I add some code in webViewDidFinished, but it seems in this situation it's not working.
Situation:I visit a web page with UIWebview then click a link to another, after that, I run
[webview goback];
It seems the page was loaded from cache, only
- (BOOL)webView:(UIWebView *)webView shouldStartLoadWithRequest:(NSURLRequest *)request navigationType:(UIWebViewNavigationType)navigationType;
is called,
- (void)webViewDidFinishLoad:(UIWebView *)webView;
is not called.