开发者

How to intercept URL int iPhone's Default web browser?

开发者_Python百科Is there any private API by which I can intercept url which user tries to open from default iPhone browser?

Is there any web kit framework in iPhone?


Use the following webview delegate.

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

    NSString * URLString = [[request URL] absoluteString];

return YES; //return NO; to stop loading

}
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜