![](https://img-blog.csdnimg.cn/20201014180756757.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
NSObject基础使用
TheLazyCoder
~~~~~~~~~~~~~
展开
-
iOS 监听手机来电状态
//CoreTelephony.framework#import #import @property(nonatomic,strong)CTCallCenter*callCenter;callCenter此参数必须为成员变量,要不然在ARC编译环境下,在这个函数之后就会被销毁,无法正常监听来电状态!-(void)IsCallPhone{原创 2017-05-02 18:12:19 · 650 阅读 · 0 评论 -
iOS9-Contacts本地电话本框架
闲来无事,翻翻老代码发现AddressBook框架已经被弃用了,然后才发现iOS9就已经被Contacts框架所替代,请原谅我的后知后觉,幸亏方法向下兼容,没有引起问题原创 2017-05-02 18:18:58 · 547 阅读 · 0 评论