Disable Add Call option from CallKit

偶尔善良 提交于 2020-01-04 03:16:11

问题


Is there a way to disable Add Call option from Callkit when receiving a VoIP call?

I couldn't find any api to disable this. But WhatsApp disabled this feature.


回答1:


Set the supportsGrouping, supportsUngrouping and supportsHolding properties to false in the CXCallUpdate for the call.




回答2:


You need to set both supportsGrouping, supportsUngrouping and supportsHolding properties to false in the CXCallUpdate, and set maximumCallGroups and maximumCallsPerCallGroup to 1 in your CXProviderConfiguration.



来源:https://stackoverflow.com/questions/40170810/disable-add-call-option-from-callkit

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