Is there an iOS API for accessing call logs?

前端 未结 1 770
暖寄归人
暖寄归人 2020-12-03 20:55

I want to access the call log of the device in my application. I have R&D a lot and found some posts here on Stack Overflow as well (for example, this one), but none of

相关标签:
1条回答
  • 2020-12-03 21:36

    It is not possible to extract the call log programmatically.

    First of all Apple officially does not expose any public API to access the call log. That means you can hack all you want to access the call log(Using private API's) but when submitting your app to Apple by sure it will be rejected.

    Regarding the app you have mentioned(quickRemainder)

    It gets the call log using a cvs file or a text file. It is not taking the info via device calllog db.

    Extract from their app description.

    You can import text or cvs files containing phone calls into this app.

    TrueCaller does not get the call log they just use the app to search the contacts and update the contacts with info they got. They are not reading the callogs

    Update: Apple has introduced framework called Callkit. Though you cannot access all the call log, you can have some control over calls like

    Identifying incoming calls

    Blocking calls etc

    https://developer.apple.com/reference/callkit

    0 讨论(0)
提交回复
热议问题