简体   繁体   中英

How I can access the call log/history of iPhone

This is for jailbroken iPhone.

Is there a way I can access the call_history.db on iPhone which is a database where apple logs the phone call information.

It is stored at /private/var/mobile/Library/CallHistory directory. When I try to enumerate directory paths under /private/var/mobile/Library it does not list CallHistory folder but everything else. I guess Apple does allow access somehow despite of having all the permissions.

Is there a way I can get access to call_history.db and copy it under my app?

I have already gone through another stackoverflow question here Accessing the iPhone's Call log with the iPhone SDK but no luck so far :(

it is located in /private/var/wireless/Library/CallHistory

if you ssh into the phone through terminal, and you enter

find | grep "name of file you are looking for(case sensitive)"

It'll normally pull it up for you.

In iOS 11-13, it is located at /var/mobile/Library/CallHistoryDB

在此处输入图片说明

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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