Ios – How to make phone call in iOS

iosiphoneobjective c

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

Best Answer

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"]];