Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

iOS 7 alternative to CTCall?

In our enterprise iOS app we used

CTCallRef CTCallDial(CFStringRef number);

to do calls from the app (and be able to hide the caller-id

It does not seem to work in iOS 7. Has the API changed there?

(I'm fully aware that this is a private API call and that it can change anytime, but I'm still hoping to find an alternative. Sadly I'm not savvy enough to know how to find all private API that is available)

like image 424
clows Avatar asked Sep 23 '13 08:09

clows


2 Answers

I think it requires you to sign your app with com.apple.coretelephony.Calls.allow entitlement. I found it in SpringBoard binary. Apple added a whole bunch of new entitlements. So we should expect that many APIs will not work without them. Just for CoreTelephony alone there is four entitlements in SpringBoard.

like image 159
creker Avatar answered Nov 18 '22 18:11

creker


I asked the same question here in stackoverflow 2 hours after your post... A first look at the class dump (https://github.com/EthanArbuckle/IOS-7-Headers/blob/master/Frameworks/CoreTelephony.framework/CTCall.h) shows, that this function is missing...

like image 24
ErdyMurphy Avatar answered Nov 18 '22 16:11

ErdyMurphy