Disable Add Call option from CallKit

2019-07-07 08:30发布

问题:

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.