OK, I think I understand what you are asking for.
Have a class implement the UIWebViewDelegate protocol. Implement the method
- (BOOL)webView:(UIWebView *)webView shouldStartLoadWithRequest:(NSURLRequest *)request navigationType:(UIWebViewNavigationType)navigationType
This method gets called whenever the user clicks a link in your webview. You can get the URL the user clicked on be inspecting the request
parameter. You can then intercept any links you want to open in mobile Safari rather then inside your webView and then call -openURL:
on the shared application as in my other answer.
[[UIApplication sharedApplication] openURL:URLFromRequest];