错误代码:Capturing 'self' strongly in this block is likely to lead to a retain cycle
__block MyScrollView *block = _myScrollView;
block.myIndex = ^(int page)
{
_lab.text = [NSString stringWithFormat:@"%d/%d",page+1,_imageArr.count];
};
错误代码:Capturing 'self' strongly in this block is likely to lead to a retain cycle
__block MyScrollView *block = _myScrollView;
block.myIndex = ^(int page)
{
_lab.text = [NSString stringWithFormat:@"%d/%d",page+1,_imageArr.count];
};