【发布时间】:2013-01-28 15:23:17
【问题描述】:
我在方法中有以下代码:
UIImageView* imageBlk = self.image;
self.finishBlock = ^{
imageBlk.hidden = YES;
}
在 ARC 下,self 是否会因为 image 是 self 的属性而被块保留?谁拥有 imageBlk?自己?
【问题讨论】:
-
查看mikeash.com/pyblog/… 中的区块章节,也许博文可以澄清您的问题
标签: iphone ios ipad automatic-ref-counting