Make an autocall programmatically in iOS
Is it possible to do a call to a predefi开发者_如何学Gonite number in iphone sdk with some system api?
You can do this as follows, but the user will need to accept the call placement.
NSURL *telephoneURL = [NSURL URLWithString:@"tel:01234567890"];
[[UIApplication sharedApplication] openURL:telephoneURL];
If you're attempting to place a call without the user's acknowledgement, then this (thankfully) isn't possible using the public API.
精彩评论