'Access call history on iOS

In my iOS application I need to get all call history (dialled,recieved,missed) from an iOS device and display as a list in my application.

So many answers are there previously for this question.But I didn't get exact answer for my question.

If anybody worked on this question previously please let me know the answer immediately.



Solution 1:[1]

There is no public API for accessing the call history on iOS.

If you wanted to do this in a private app that couldn't be released on the App Store you could look at this link.

There are apps on the store that use the above method, but I wouldn't rely on it passing review. I think the apps that do use it may have slipped through the net.

Solution 2:[2]

Apple has introduced framework called Callkit. Though you cannot access all the call log, you can have some control over calls like

Identifying incoming calls

Blocking calls etc

https://developer.apple.com/reference/callkit

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Gary Riches
Solution 2 Fatemeh