判断项目是否启用了ARC模式

143 阅读1分钟
#if __has_feature(objc_arc)
    //启用了ARC
#else
    //未启用ARC
#endif