How to intercept “Messages” sent from CallKit incoming call screen?

久未见 提交于 2019-12-01 05:30:28

"Message" button has appeared if support SiriKit in iOS 12. (add INSendMessageIntent to intent's info.plist)

How to intercept:

  1. Run the Intent Extension
  2. Deal with handler(for intent:)

iOS 10.1 Beta 1 has changed this behavior to no longer show the 'Remind Me' or 'Message' buttons for CallKit VoIP apps, so I encourage you to re-test your app using that Beta OS.

If you would like the ability for incoming calls from your app to continue showing the 'Message' button but for your app receive the message request instead of the system's native Messages app, please file a bug with Apple to request this capability.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!