Dial a phone number with an access code programmatically in iOS

前端 未结 10 1147
既然无缘
既然无缘 2020-12-02 06:54

How can I dial a phone number that includes a number and access code programmatically in iOS?

For example:

number: 900-3440-567
Access C

10条回答
  •  难免孤独
    2020-12-02 07:20

    You can use Phone urls to invoke the Phone application to dial a number for you. See this reference.

    The downside is that once the call is finished, user will endup in the Phone application. But I am afraid there is no solution to that problem. iOS doesn't allow any application to directly initiate a call because of security and privacy reasons.

    You can use comma for introducing pause(s) while dialing a number.

提交回复
热议问题