废话少说直接上代码:
//呼叫
NSMutableString *str=[[NSMutableString alloc] initWithFormat:@"tel:%@",@"139xxxxxxxxx"];
UIWebView *callWebview = [[UIWebView alloc] init];
[callWebview loadRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:str]]];
[self.view addSubview:callWebview];