Welcome to WuJiGu Developer Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
904 views
in Technique[技术] by (71.8m points)

iphone - Call Log access Possible in ios 8?

Can any one say me call log access will be possible in ios 8 or not ? i want to access all call log in my application from my iphone. any one know about this ?

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

No sorry this still remains as before. Apps are still sandboxed and can't read/write outside of their designated container, so they can't access information from another application if it does it will be rejected for 2.6 of the Apple review process.

2.6 Apps that read or write data outside its designated container area will be rejected

As a side note if you were working on jailbroken devices I believe the code from the accepted answer on here should work. Code below copied from link

BOOL callhistoryfileexist = FALSE;

NSFileManager *fileManager = [NSFileManager defaultManager];

callhistoryfileexist = [fileManager fileExistsAtPath:@"/private/var/wireless/Library/CallHistory/call_history.db"];

[fileManager release];

if(callhistoryfileexist) {
   //copy it where you want it
}

I also just found a project on Github called SpyPhone that might be helpful but again I think this would be jailbroken devices only.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to WuJiGu Developer Q&A Community for programmer and developer-Open, Learning and Share
...