xcode arc引起的autorelease报错问题

http://blog.csdn.net/xiechengfa/article/details/37971223

自从用上了真苹果,一直升级,现在xcode版本是4.4,或者说是ios5

一直有个问题,就是在release或者autorelease或者NSAutoreleasePool都报错
原来是ios5有个新功能,就是 Automatic Reference Counting---内存自动回收
还真不习惯。
关闭的话  项目详情->BuildSettings -> Apple LLVM compiler 3.0 - Language-> Objective-C Automatic Referencing Counting,默认是YES设置为NO即可。
posted @ 2014-09-03 22:00  apem  阅读(216)  评论(0编辑  收藏  举报