Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Access Recent Call List from native app in Swift App

I want to access the Recent Call list in My Swift app and matched the number that I have in My Code.

How can I do that?

like image 396
dhaval shah Avatar asked Mar 14 '23 17:03

dhaval shah


1 Answers

No it cannot be done in a iOS app.

Technical Reason:

Recent call lists informations are stored in a sqlite db file deep inside the file structure and Apple prevents any access to that file outside your app sandbox.

You can fetch the contacts and its information by Contacts or Addressbook framework but not its call log related information.

like image 178
ipraba Avatar answered Apr 01 '23 15:04

ipraba