xcode 在 iOS 上访问通话记录

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/28693702/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-15 06:43:05  来源:igfitidea点击:

Access call history on iOS

iosxcode

提问by 09121989

In my iOS application I need to get all call history (dialled,recieved,missed) from an iOS device and display as a list in my application.

在我的 iOS 应用程序中,我需要从 iOS 设备获取所有通话记录(已拨、已接、未接)并在我的应用程序中显示为列表。

So many answers are there previously for this question.But I didn't get exact answer for my question.

这个问题以前有很多答案。但我没有得到我的问题的确切答案。

If anybody worked on this question previously please let me know the answer immediately.

如果以前有人研究过这个问题,请立即告诉我答案。

回答by Gary Riches

There is no public API for accessing the call history on iOS.

在 iOS 上没有用于访问通话记录的公共 API。

If you wanted to do this in a private app that couldn't be released on the App Store you could look at this link.

如果您想在无法在 App Store 上发布的私人应用程序中执行此操作,您可以查看此链接

There are apps on the store that use the above method, but I wouldn't rely on it passing review. I think the apps that do use it may have slipped through the net.

商店里有使用上述方法的应用程序,但我不会依赖它通过审核。我认为确实使用它的应用程序可能已经从网上溜走了。