开发者

IOS calling a number and enter a code

开发者 https://www.devze.com 2023-03-07 00:55 出处:网络
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.

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

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号