Send UIWebView title to UINavigationBar
to retrieve the title page into an UIWebView you can use it:
myNavigationBar.title = [myWebView stringByEvaluatingJavaScriptFromString:@"document.title"];
If you want to go back you can do that:
if ([myWebView canGoBack]){
[myWebView goBack];
}
To know if the user has loaded a new page you must set the UIWebViewDelegate. For more information see the UIWebView Class Reference and the UIWebViewDelegate Protocol Reference