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. enter image description here

i using code making newincoming call, unable found solution,please suggest

thanks.


Comments

Popular posts from this blog

python Tkinter Capturing keyboard events save as one single string -

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

javascript - Z-index in d3.js -