objective c - Audio not working After Accept Call in CallKit iOS -
audio not working in callkit when accept call throw callkit.
@property (strong, nonatomic) cxprovider * provider; cxproviderconfiguration * configuration = [[cxproviderconfiguration alloc] initwithlocalizedname:@"audio"]; _provider = [[cxprovider alloc] initwithconfiguration: configuration]; [_provider setdelegate:self queue:nil]; nsuuid*uuid=[nsuuid uuid]; cxcallupdate *update = [[cxcallupdate alloc] init]; update.localizedcallername = [nsstring stringwithformat:@"%@",[payload.dictionarypayload valueforkey:@"fromname"]]; [_provider reportnewincomingcallwithuuid:uuid update:update completion:^(nserror * _nullable error) { if (error) { nslog(@"error: %@", error); } }];
here screenshot.. speaker button not working after accepting call.
i using code making newincoming call, unable found solution,please suggest
thanks.
Comments
Post a Comment