It used to be, before iOS 10.3; that we had the choice inside an iOS app on how to perform a phone call. Either using this, in which case the call was executed immediately:
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"tel://01-2345-6789"]];
Or using this, in which case the call was executed only after waiting for a user confirmation:
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"telprompt://01-2345-6789"]];
Now even the first option waits for user confirmation. Is there a way to avoid waiting? It would be great to at least give the choice to the user.
Unfortunately, no. Both the tel
and telprompt
schemes prompt the user before attempting to make a call.