uiwebview 內睇網站. hyperlink 問題

應該點樣做..

先可以令到條HYPERLINK, 唔係 inapp 入.
而係開safari 打開連結

係 app 內改野, 定係版網頁條HYPERLINK 加野

回復 1# JasonRomando


refer
http://developer.apple.com/libra ... ence/Reference.html   

"-(BOOL)webView:(UIWebView *)webView shouldStartLoadWithRequest:(NSURLRequest *)request navigationType:(UIWebViewNavigationType)navigationType".

handle "webView:shouldStartLoadWithRequest:navigationType:" return NO.

using "[[UIApplication sharedApplication] openURL:externalURL];" open external webbrowser.

TOP