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 al开发者_如何学编程l over and couldn't find anything about accessing the phone.
Thanks.
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
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
精彩评论