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?
Asked
Active
Viewed 1,906 times
1

Retro
- 3,985
- 2
- 17
- 41

user2541163
- 717
- 2
- 7
- 22
-
What do you want to do? – cjd Jan 21 '14 at 06:15
-
@cdj I was reading this http://stackoverflow.com/questions/19356453/rec-ios-conversations-where-to-start but according to the accepted answer there this function is found in CTTelephonyCenter which i dont have any header files/libraries which has the same name. I hope I answered your question – user2541163 Jan 21 '14 at 06:18
-
I have used coreTelephony framework for getting notified whenever we get call. – cjd Jan 21 '14 at 06:26
-
Basically kCTCallStatusChangeNotification does a notification when the call status is changed rite? This function is supposed to be in the coretelephony framework but i cant find it anywhere with sdk 7.0. Is this function in the private or public framework folder for sdk7.0? – user2541163 Jan 21 '14 at 06:29
-
Yes you are right its not there in framework.I got it from [ios-reversed-headers](https://github.com/Cykey/ios-reversed-headers).May be it can help you. – cjd Jan 21 '14 at 06:34
-
I would like to know the source folder where they generate the reversed headers. If these headers are dumped, according to the readme, there must a library to do so – user2541163 Jan 21 '14 at 06:50
1 Answers
3
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)