2012-04-27 83 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

相關問題