ios - How to remove 'Remind Me' button from CallKit UI? -


i'm using ios 10's callkit in app receive incoming calls. using cxhandletype: cxhandletypegeneric specific caller handle.

1- not able in point 2, string 'audio...' coming? have set string 'call from' in cxproviderconfiguration.

cxproviderconfiguration *configuration = [[cxproviderconfiguration alloc] initwithlocalizedname:@"call from"]; 

i want remove 'audio...' string, please help.

2- when callkit ui open on receive call option 'remind me' button present. how can remove native ui? per requirement button useless.

please help, in advance.

i have configure call kit:

- (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]; } 

enter image description here

for question number 1:

when create configuration, pass "call from" instead app name, callkit shows "call audio" instead "appname audio".

for solve can create provider configuration as:

cxproviderconfiguration * configuration = [[cxproviderconfiguration alloc] [[nsbundle mainbundle] objectforinfodictionarykey:@"cfbundledisplayname"]]; 

for second question, remove too, don't know how , if remove.


Comments

Popular posts from this blog

html - How to set bootstrap input responsive width? -

javascript - Highchart x and y axes data from json -

javascript - Get js console.log as python variable in QWebView pyqt -