问题
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