从我的应用程序拨打iphone电话

tec*_*mar 3 iphone call

如何从我的应用程序拨打特别号码.给我一些执行此任务的逻辑或代码......

Vla*_*mir 8

使用UIApplication的openURL:方法:

[[UIApplication sharedApplication] openURL:
       [NSURL URLWithString:[NSString stringWithFormat:@"tel:%@",phoneNumber]]];
Run Code Online (Sandbox Code Playgroud)