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 }
精彩评论