webView 代理方法,
- (BOOL)webView:(UIWebView *)webView shouldStartLoadWithRequest:(NSURLRequest *)request navigationType:(UIWebViewNavigationType)navigationType
点击号码的时候 输出 [[request URL] absoluteString] ;
如果能输出号码的话,
[webView loadRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:[[request URL] absoluteString]]]]
时间: 2024-11-05 16:09:58