iPhone call log / history

Glenn picture Glenn · Jun 2, 2011 · Viewed 59.3k times · Source

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

Answer

eladleb picture eladleb · Dec 8, 2011

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..?