//ios 中有三种拨打电话的方式
//1 可以直接打电话 ,,没有那种呼叫类型的弹框 拨打结束后停留在通讯录
NSString *phoneNumberString1 = @"tel:189********";
[[UIApplication sharedApplication]openURL:[NSURL URLWithString:phoneNumberString1]];
//2 会出现呼叫弹框 拨打完电话留在程序中
NSString *phoneNumberString2 = @"tel:189********";
UIWebView *phoneWeb = [[UIWebView alloc]init];
[phoneWeb loadRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:phoneNumberString2]]];
[self.view addSubview:phoneWeb];
//3 和第二中其实是一样的 效果
NSString *phoneNumberString3 = @"telprompt://189********";
[[UIApplication sharedApplication]openURL:[NSURL URLWithString:phoneNumberString3]];