I want to display the caller name when received an incoming call.

When a phone receives an incoming call, the caller name is automatically associated with the user's contact and another name is displayed.

Apple documentation says

When a phone receives an incoming call, the system first consults the user’s contacts to find a matching phone number.

I don't want to associate with user's contacts because I want to display caller name as it is.

Thank you in advance!
Answered by brinkin in 632102022
We found that setting the remoteHandle/callUpdate.localizedCallerName on CXCallUpdate will override the system contacts if a match is found, eg:

Code Block
CXHandle *callHandle = [[CXHandle alloc] initWithType:CXHandleTypePhoneNumber value:@"ContactNameHere"];
CXCallUpdate *callUpdate = [[CXCallUpdate alloc] init];
callUpdate.remoteHandle = callHandle;
callUpdate.localizedCallerName = strLocalizedCallerName;


Cheers,
Ben
Accepted Answer
We found that setting the remoteHandle/callUpdate.localizedCallerName on CXCallUpdate will override the system contacts if a match is found, eg:

Code Block
CXHandle *callHandle = [[CXHandle alloc] initWithType:CXHandleTypePhoneNumber value:@"ContactNameHere"];
CXCallUpdate *callUpdate = [[CXCallUpdate alloc] init];
callUpdate.remoteHandle = callHandle;
callUpdate.localizedCallerName = strLocalizedCallerName;


Cheers,
Ben
I want to display the caller name when received an incoming call.
 
 
Q