Reputation: 377
We wrote an VoIP application and we like to add call history entry in 'Recent' calls like whatsapp does.
If you make a Whatsapp call, a call log entry will be added in 'Recent' with "Whatsapp Audio" remarks. Clicking on it automatically launches whatsapp and call is placed to that number.
I couldn't find any API to achieve this. However since whatsapp is doing it, I am sure there are APIs to add entry and then intercept.
Any idea?
Upvotes: 1
Views: 1824
Reputation: 11588
To include calls made using your VoIP app in the Phone app's Recents tab, as well as participate in the system's native incoming call UI and other features, use the new CallKit framework in iOS 10 and later.
Check out the WWDC 2016 session 230 video for more details, or see the official documentation for CallKit. Also, the Speakerbox sample code app demonstrates many best practices for using CallKit.
Upvotes: 2