How can I make a call inside an iPhone application? [duplicate]
-
01-10-2019 - |
Question
This question already has an answer here:
- Make a phone call programmatically 12 answers
I want the user to make a call from my application
Something like this post, but instead of sending an email, make a call How can I send mail from an iPhone application
Tanks!
Solution
NOTE: This will only work on an actual iPhone (not the simulator)
[[UIApplication sharedApplication] openURL: [NSURL URLWithString:@"tel:9995551234"]];
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow