Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how to get the incoming call number by using callkit

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 540
Ashok Narvaneni Avatar asked Jun 29 '16 11:06

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 166
Stuart M Avatar answered Sep 20 '22 12:09

Stuart M