开发者

Prevent app exit from UIWebView link

I have a UIWebView in my app which shows the clients webpage, howeve开发者_Go百科r I would like to retain the user within the app if they choose to browse the webpage.

Can I prevent it breaking out to Safari when a link is clicked?


Try implementing UIWebViewDelegate's:

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

HTH.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜