How can I access call log history on IOS5

非 Y 不嫁゛ 提交于 2019-12-10 19:09:14

问题


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?


回答1:


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




回答2:


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



来源:https://stackoverflow.com/questions/7828157/how-can-i-access-call-log-history-on-ios5

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!