简体   繁体   English

如何在IOS5上访问呼叫记录历史记录

[英]How can I access call log history on IOS5

I used FMDatabase and this path (/private/var/wireless/Library/CallHistory/call_history.db) to access the call logs on IOS4. 我使用FMDatabase和此路径(/private/var/wireless/Library/CallHistory/call_history.db)来访问IOS4上的呼叫日志。 After I updated to IOS5, it just gave me a "permission denied" exception. 在我更新到IOS5后,它只是给了我一个“许可被拒绝”的例外。 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? 所以我在想,无论如何我们可以将通话记录文件推送到ICloud并将其带回我们的应用程序吗? Or use CoreTelephony framework to get the CallID first, and use that ID to point somewhere and get the call detail info? 或者使用CoreTelephony框架首先获取CallID,并使用该ID指向某处并获取呼叫详细信息? Any ideas? 有任何想法吗?

There is no supported way of doing this. 没有支持的方法这样做。 You're likely to get rejected by Apple if you attempt it. 如果您尝试,Apple可能会被Apple拒绝。

you have only one way but that will approved by apple or not. 你只有一种方式,但苹果公司是否会批准。 I don't know. 我不知道。 I am telling you that answer but it may be risky. 我告诉你答案,但这可能有风险。

You can see this link call details 您可以看到此链接呼叫详细信息

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM