如何在IOS5上访问呼叫记录历史记录 [英] How can I access call log history on IOS5

查看:158
本文介绍了如何在IOS5上访问呼叫记录历史记录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用FMDatabase和此路径(/private/var/wireless/Library/CallHistory/call_history.db)来访问IOS4上的通话记录。在我更新到IOS5后,它只是给了我一个许可被拒绝的例外。我知道呼叫日志文件在那里,只是苹果删除权限。
所以我在想,无论如何我们可以将通话记录文件推送到ICloud并将其带回我们的应用程序吗?或者使用CoreTelephony框架首先获取CallID,并使用该ID指向某个地方并获取呼叫详细信息?有什么想法吗?

I used FMDatabase and this path (/private/var/wireless/Library/CallHistory/call_history.db) to access the call logs on IOS4. After I updated to IOS5, it just gave me a "permission denied" exception. I know the call log file is there, just apple remove the permission. So I am thinking, is there anyway we can push the call log file to ICloud and take it back to our application? Or use CoreTelephony framework to get the CallID first, and use that ID to point somewhere and get the call detail info? Any ideas?

推荐答案

没有支持的方法。如果您尝试,Apple可能会被Apple拒绝。

There is no supported way of doing this. You're likely to get rejected by Apple if you attempt it.

这篇关于如何在IOS5上访问呼叫记录历史记录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆