拨打电话方式
第一种,不会跳出app
UIWebView *callWebView = [[UIWebView alloc] init];
NSURL *telURL = [NSURL URLWithString:@"tel:10086"];
[callWebView loadRequest:[NSURLRequest requestWithURL:telURL]];
[ self . view addSubview :callWebView];第二种,不会跳出app
NSString *allString = [NSString stringWithFormat:@"tel:10086"];
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:allString]];
第三种,不会跳出app// NSLog(@"str======%@",str);
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:str]]