我在我的应用程序中使用iOS 10的CallKit来接收来电。我正在使用CXHandleType:CXHandleTypeGeneric与特定的调用者句柄。如何从CallKit UI中删除'提醒我'按钮?
我没能获得在点2,其中从字符串“音频...”会来吗?我只在CXProviderConfiguration中设置了字符串'Call From'。
CXProviderConfiguration *configuration = [[CXProviderConfiguration alloc] initWithLocalizedName:@"Call From"];
我想删除这个'音频...'字符串,请帮助。
2-当接听电话打开CallKit用户界面时,“提醒我”按钮也会出现。 如何从本机用户界面中删除它?根据我的要求,这个按钮是没用的。
请帮助,在此先感谢。
我有配置呼叫套件:
- (void)configureCallKit {
CXProviderConfiguration *configuration = [[CXProviderConfiguration alloc] initWithLocalizedName:@"Call From"];
configuration.maximumCallGroups = 1;
configuration.maximumCallsPerCallGroup = 1;
UIImage *callkitIcon = [UIImage imageNamed:@"iconMask80"];
configuration.iconTemplateImageData = UIImagePNGRepresentation(callkitIcon);
_callKitProvider = [[CXProvider alloc] initWithConfiguration:configuration];
[_callKitProvider setDelegate:self queue:nil];
_callKitCallController = [[CXCallController alloc] init];
}
是否是您的应用程序名称的音频?目前无法在本机来电用户界面中禁用此按钮,或改为使用您的应用程序。 –
不,音频不是我的应用程序名称。我也搜索过,但我的代码中没有音频字符串。 –
如果我们不能禁用提醒我按钮,那么我如何使用它而不提醒我按钮?请建议。 –