user739509
user739509

Reputation: 813

IOS calling a number and enter a code

I want to create a app that will call a number and after a few seconds enter a code. Is this even possible? I searched all over and couldn't find anything about accessing the phone.

Thanks.

Upvotes: 3

Views: 1635

Answers (2)

jopke
jopke

Reputation: 1184

You can dial the number with pauses.

If you insert a comma between the phone number and the code you want to dial, it will dial the number, pause, then dial the code.

Other than that, there isn't a way to gain access to the call or phone audio.

Edit I think rckoenes is correct, you should use a p. Inserting a pause into a tel:// link

Upvotes: 2

rckoenes
rckoenes

Reputation: 69499

No, this is not possible, at least via code. You can use the tel: url schema to call the number.

then use the 'p' for a pauze:

tel:+145555464p123 

Upvotes: 3

Related Questions