您的位置:首页 > 移动开发 > IOS开发

iOS开发笔记--错误 ARC forbids explicit message send of'release'

2013-05-09 14:49 495 查看
ARC forbids explicit message send of'release'

'release' is unavailable: not available inautomatic reference counting mode

解决办法:

打开当前工程,打开"Build Settings",找到Objective-C Automatic Reference Counting项,将它的值设置为NO。

再次编译,就消除了这个错误了。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: