0

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.

Michel
  • 10,303
  • 17
  • 82
  • 179
  • Possible duplicate of [Prompt when trying to dial a phone number using tel:// scheme on iOS 10.3](https://stackoverflow.com/questions/43121740/prompt-when-trying-to-dial-a-phone-number-using-tel-scheme-on-ios-10-3) – Jake Feb 12 '18 at 04:24

1 Answers1

1

Unfortunately, no. Both the tel and telprompt schemes prompt the user before attempting to make a call.

Jake
  • 13,097
  • 9
  • 44
  • 73
  • OK thanks. So now there is no difference between the two schemes? Anyway as a result it currently takes two steps for the user to make a phone call instead of one before. – Michel Feb 13 '18 at 07:02
  • Yep. It stinks. (I have an app that it affects as well) – Jake Feb 13 '18 at 14:57