1尉辑、方法一
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:[NSString stringWithFormat:@"tel://183########""]]];
2浑测、方法二 推薦
NSMutableString *str = [[NSMutableString alloc] initWithFormat:@"tel:%@",@"183########"];
UIWebView *callWebview = [[UIWebView alloc] init];
[callWebview loadRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:str]]];
[self.view addSubview:callWebview];
3.方法三
NSMutableString *string=[[NSMutableString alloc] initWithFormat:@"telprompt://%@",@"183#######"];
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:string]];