2012-04-27 54 views

回答

0
//WebView will automatically load the hyperlink u need not to do anything out there except. 
//Inherit <UIWebViewDelegate> in self; 
urwebview.delegate=self; 
In self implement delegate method 
- (BOOL)webView:(UIWebView *)webView shouldStartLoadWithRequest:(NSURLRequest *)request navigationType:(UIWebViewNavigationType)navigationType 
{ 
    //Its call back receved whenever ur webview is navigated By clicking on hyperlink 
} 
+0

我当时正在开发Mac应用程序。 – 2012-04-27 09:26:06

+0

NSWebView和UIWebView的用法相同吗? – 2012-04-27 09:26:34

+0

是的,在Mac Appkit中它的NSWebView,在iOS UIKit中它的UIWebView – Allamaprabhu 2012-04-27 09:51:36

相关问题