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