且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

是否有用于访问通话记录的iOS API?

更新时间:2023-01-25 17:16:56

无法以编程方式提取呼叫日志。

It is not possible to extract the call log programmatically.

首先,Apple正式不会公开任何公共API来访问电话登录。这意味着您可以破解所有想要访问呼叫日志的内容(使用私有API),但在将应用程序提交给Apple时,肯定会被拒绝。

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.

关于应用程序你提到过(quickRemainder)

Regarding the app you have mentioned(quickRemainder)

它使用cvs文件或文本文件获取调用日志。它没有通过设备calllog db获取信息。

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.


您可以导入文本或cvs文件包含打电话到这个应用程序。

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

TrueCaller没有得到通话记录他们只是使用该应用程序搜索联系人并更新联系人他们得到的信息。他们没有阅读callogs

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

更新: Apple推出了名为Callkit的框架。虽然您无法访问所有通话记录,但您可以控制一些电话,例如

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

识别来电

阻止拨打

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