-
Notifications
You must be signed in to change notification settings - Fork 125
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
_CTCallCopyAllCalls always returns empty array #4
Comments
Are you sure it doesn't return an array of active calls? |
I can confirm _CTCallCopyAllCalls is working on my end. Usage example: https://www.dropbox.com/s/g0zs1sjyscmomb7/Screenshot%202014-03-21%2018.49.20.png |
Is there anything relevant in the syslog? iOS usually tells you if you're missing an entitlement. |
Thanks for your hints. My code looks like:
|
You can get the entitlements of a binary with |
I see, so the device needs to be jailbroken to use that method? |
No, not necessarily. You just need to get your app signed with the entitlement. However, I seriously doubt Apple will allow your app in the App Store if you use private entitlements & APIs. That said, try this one:
It might work. |
Thank you for your work guys, what do i need to do on my end to get this up and running? |
I assume that _CTCallCopyAllCalls should return the call history but it returns an empty array...
The text was updated successfully, but these errors were encountered: