一
UIWebView*callWebView = [[UIWebViewalloc]init];
NSURL*telURL = [NSURLURLWithString:@"tel:10086"];
[callWebViewloadRequest:[NSURLRequestrequestWithURL:telURL]];
[self.viewaddSubview:callWebView];
二
NSString*allString = [NSStringstringWithFormat:@"tel:10086"];
[[UIApplicationsharedApplication]openURL:[NSURLURLWithString:allString]];
网友评论