Reputation: 1214
is it possible to get detail of last dialed call?
I want the call duration of last dialed number programmatically.
Upvotes: 1
Views: 2789
Reputation: 6445
No way. Simply it's not possible in IOS unless jail-broken. Apple is really concerned with their security policy. So they won't give these details.
Call duration also cannot be fetch.
Core Telephony framework is mainly used for call event monitoring(call state),fetching carrier details,etc. But you cant fetch call log using Core Telephony
In previous IOS versions, you can obtain the call history by accessing SQLite db. But apple fixed that now. Anyway you can try to access the DB. But there is only minor chance to get the access and even if you can access that, your app will be rejected in appstore.
Upvotes: 5