I had an application in which i am using UIWebview for loading the webpages. I had a footer for my UIwebview.I need to change it for search results and link loading.I had done this in
- (BOOL)webView:(UIWebView*)webView
shouldStartLoadWithRequest:(NSURLRequest*)request
navigationType:(UIWebViewNavigationType)navigationType
{
if (navigationType == UIWebViewNavigationTypeLinkClicked)
{
// ...
}
}
But when i am returning from the loaded link {through history [goBack]}its not changing properly.Can anybody guide me how to find whether we are loading search results or a link.?