Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I make phone call in iOS?

How can I make a phone call in Objective-C?

like image 787
Bala Avatar asked Mar 20 '09 11:03

Bala


People also ask

Can I make a phone call on my iPad?

Make Calls From Your iPad If you want to make a call to a specific contact from your iPad, open the Contacts app. Select the contact and tap the number you wish to call. The calling screen pops up while you wait for the person to answer. You can also dial a number manually on your iPad by opening the FaceTime app.

Can I make an international call on iPhone?

You can dial an international number on your iPhone in a few easy steps. To dial international on an iPhone, you'll need to know the country code for the number you're trying to dial. You'll need to dial a "+" before you start dialing an international number, which you can access by pressing and holding the 0 key.


1 Answers

You can initiate a call

https://developer.apple.com/library/archive/featuredarticles/iPhoneURLScheme_Reference/PhoneLinks/PhoneLinks.html

So this would probably work:

[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"tel:12125551212"]  options:@{} completionHandler:nil]; 
like image 200
Lou Franco Avatar answered Oct 14 '22 14:10

Lou Franco