作为iOS 10的新功能,CallKit功能强大。屏幕锁定后,如何禁用“视频”按钮?像图片底部:qazxsw poi
您必须将CXProviderConfiguration中的supportsVideo属性设置为NO。并且未设置supportedHandleTypes。
您可以将CXProviderConfiguration类属性“supportsVideo”设置为NO,如下所示。
example
它将禁用视频功能。
更新:将CXCallUpdate属性“hasVideo”设置为NO。并删除remoteHandle。注意:如果删除remoteHandle属性,则无法从最近的日志回调。