0

I know how to add a contact, I know how to initiate a phone call. What I don't know, if it's possible to initiate a phone call only by contact name. What I mean: I add a new contact with phone number with pin code, like 123456*9, this is possible as I already did it.

Cœur
  • 37,241
  • 25
  • 195
  • 267
Idan Moshe
  • 1,675
  • 4
  • 28
  • 65

1 Answers1

0

How call can be initiated when you don't add contact number in this? BTW I found in Apple docs here

To prevent users from maliciously redirecting phone calls or changing the behavior of a phone or account, the Phone application supports most, but not all, of the special characters in the tel scheme. Specifically, if a URL contains the * or # characters, the Phone application does not attempt to dial the corresponding phone number. If your application receives URL strings from the user or an unknown source, you should also make sure that any special characters that might not be appropriate in a URL are escaped properly. For native applications, use the stringByAddingPercentEscapesUsingEncoding: method of NSString to escape characters, which returns a properly escaped version of your original string.

and please check if this solution works for you.

Community
  • 1
  • 1
iEinstein
  • 2,100
  • 1
  • 21
  • 32