0

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

Harin
  • 867
  • 11
  • 23

2 Answers2

1

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.

Community
  • 1
  • 1
dgund
  • 3,459
  • 4
  • 39
  • 64
1

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.

Saurabh Passolia
  • 8,099
  • 1
  • 26
  • 41