I have a phone number or email address associated with a FaceTime account how can I initiate a FaceTime audio call from within my app?
Turns out the url scheme is facetime-audio://
Thanks for the response above but that url scheme is for FaceTime video, not audio as requested.
You can use Apple's Facetime URL Scheme for this
URL Schemes:
// by Number
facetime://14085551234
// by Email
facetime://[email protected]
Code :
NSString *faceTimeUrlScheme = [@"facetime://" stringByAppendingString:emailOrPhone];
NSURL *facetimeURL = [NSURL URLWithString:ourPath];
// Facetime is available or not
if ([[UIApplication sharedApplication] canOpenURL:facetimeURL])
{
[[UIApplication sharedApplication] openURL:facetimeURL];
}
else
{
// Facetime not available
}
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