OC 如果需要手动显示操作 release retaionCount等解决办法
错误提示:
ARC forbids explicit message send of'retain'
'retain' is unavailable: not available inautomatic reference counting mode
解决方法;
打开当前工程,打开"Build Settings",找到Objective-C Automatic Reference Counting项,将它的值设置为NO。
将ARC设为MRC
浙公网安备 33010602011771号