转自:http://blog.csdn.net/sunyuanyang625/article/details/41440167
获取各类iOS私有api
安装工具class-dump
资源地址http://download.csdn.net/detail/map625/8191343
运行class-dump并编译src项目
编译之后在produce中找到编译好的class-dump将其拷贝到/usr/local/bin下
将xcode下的framwork导出.h文件
例,我导出的是coreTelephony
class-dump
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.1.sdk/System/Library/Frameworks/CoreTelephony.framework/ >CoreTelephony.h