Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to can we detect incoming phone number with call kit in iOS 10 [duplicate]

Tags:

ios

ios10

callkit

How to get the incoming call phone number programmatically by using call kit framework. i tried with cxcallobserver class but no use.

Any suggestions most helpful...

like image 316
Ashok Narvaneni Avatar asked Nov 19 '22 12:11

Ashok Narvaneni


1 Answers

When using CallKit's Call Blocking & Identification feature (new in iOS 10), phone numbers to be blocked or identified are loaded by your app's Call Directory extension prior to an incoming call and the phone numbers are stored by the system. Then, when an incoming call arrives, this stored data is consulted by the system and an incoming call may either be blocked or identified in the incoming call UI with the label provided.

For privacy and performance reasons, Call Directory app extensions are not launched when incoming calls arrive and an app extension cannot retrieve the phone number for an incoming call.

like image 191
Stuart M Avatar answered May 14 '23 23:05

Stuart M