Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

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

api - iPhone call log / history

I'm doing some research on the feasibility of an iPhone application, and can't find any indication in Apple's documentation that an iPhone app can read the call history of the phone, specifically the number called, when, and the duration... I also need the same information for SMS.

First of all: I've done my research and googled around, searched around on this site! I know this question had been asked a lot of times before, and the answer was always: "It can't be done" (at least not on a non-jailbroken iPhone).

I searched the API including Core Telephony and didn't find anything myself either.

So why this question? Because this app in the App Store seems to be doing this without a problem... : http://itunes.apple.com/us/app/callog/id327883585?mt=8

Question&Answers:os

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

1 Answer

0 votes
by (71.8m points)

Sorry but right now it really can't be done..

On iOS 5 there isn't any access to call_history.db -> Which is exactly what you were looking for.

The app mentioned here: http://itunes.apple.com/us/app/callog/id327883585?mt=8 Does not work with iOS 5 (don't download but check the users' reviews..)

On iOS 4, you might still be able to get away with it: http://iosstuff.wordpress.com/2011/08/19/accessing-iphone-call-history/ But who develops solely for iOS 4 these days..?


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...