Harin
Harin

Reputation: 867

How to get call history in iphone?

In my application i want last 14 days call history. My Requirement is i only need the last 14 days call number which are not save in my address book.

so please give me some idea how can i get this calls in my application if it possible.

Thanks in advance

Upvotes: 0

Views: 7789

Answers (2)

dgund
dgund

Reputation: 3467

This method will work in iOS 4, but not iOS 5. Since your application is sandboxed, it isn't actually allowed to access phone history. Even if you found a way, it probably would not be allowed into the App Store. It is not possible in the iOS SDK, unless you jailbreak.

Upvotes: 1

Saurabh Passolia
Saurabh Passolia

Reputation: 8109

There is no public API for fetching call history and if you use any other method such as accessing the callHistory.db file directly, you will not be able to submit your app to appstore.

Upvotes: 1

Related Questions