打电话的方法有三种,网上说的人很多我这里只写一种大家推荐使用的
UIWebView *webView = [[UIWebView alloc]init];
[webView setBackgroundColor:ClearColor];
[self addSubview:webView];
NSURL *url = [NSURL URLWithString:@"tel://10086"];
[webView loadRequest:[NSURLRequest requestWithURL:url]];
这个web必须要要有父view,否则会不启动打电话功能