Is the code for calling on the iPhone automatically
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"tel:11111111111"]]);
Your second line is fine and will work.
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"tel://1111111111"]]);
From trying on an iPhone, tel://123456789
is the way to go. The tel:123456789
option is not even recognized, at least by the Safari URL bar.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With