在arc开发环境下用ASIHttpRequest,采用block的方式回调http响应时,会出现block will be retained by the captured object的warning.
解决方法是在声明前加__unsafe_unretained
如:
这样可以同时支持iOS4,因为iOS4不能用__weak.
参考地址:http://www.cocoachina.com/bbs/simple/?t96824.html
http://blog.csdn.net/favormm/article/details/7453376