Prompt when trying to dial a phone number using tel:// scheme on iOS 10.3

后端 未结 2 1373
野性不改
野性不改 2020-11-28 11:15

After updating to 10.3, my app no longer automatically dials a phone number after pressing the call button in my app using the openURL: options: completionHandler: method.

2条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-11-28 11:57

    This is listed as a known issue in the 10.3 release notes.

    https://developer.apple.com/library/content/releasenotes/General/RN-iOSSDK-10.3/

    openURL

    When a third party application invokes openURL: on a tel://, facetime://, or facetime-audio:// URL, iOS displays a prompt and requires user confirmation before dialing.

    It is also listed in the Security content of the 10.3 update, so I'm assuming this a new feature that is here to stay.

    An issue existed in iOS allowing for calls without prompting. This issue was addressed by prompting a user to confirm call initiation.

提交回复
热议问题