How to get header files from CoreTelephony.framework to control your phone api

I want to develop an application for redialing iphone, this requires coretelephony.framework, since it contains the required api phone control. But I can not compose the headers coretelephony.framework, as it is C headers. Can someone help me reset the headers of the cortel system?

Thanks at Advance.

+3
source share
1 answer

The CoreTelephony structure contains only four files. therefore, you can import these classes as follows:

#import<CoreTelephony/CTCallCenter.h>    
#import<CoreTelephony/CTCall.h>   
#import<CoreTelephony/CTCarrier.h>    
#import<CoreTelephony/CTTelephonyNetworkInfo.h>

hope this helps!

+15
source

Source: https://habr.com/ru/post/1742268/


All Articles