I was searching around kCTCallStatusChangeNotification
and read that this is being called from CoreTelephony framework. However I went through the header files in the Xcode
folders under public frameworks and saw no mentioning kCTCallStatusChangeNotification
or even any private frameworks with CTTelephonyCenter
. I tried dumping the headers for relevant private frameworks and still could not find the correct file to include. I am currently using iOS SDK 7.0
I read tutorials that makes use of CoreTelephony framework and that it was actually a private framework after which being transferred over to a public framework( from what I see in my current public framework folder). So how do I actually call this function/type and where is it being located?
kCTCallStatusChangeNotification
is not a function, it's notification. You can import it from public CoreTelephony.framework like this
extern CFStringRef const kCTCallStatusChangeNotification;
Then read this Intercepting phone call - iPhone (correct method to hook in CoreTelephony)