改成如下即可:
NSArray *arr = @[^{NSLog(@"block0 :%d",val);},
^{NSLog(@"block1 :%d",val);},
^{NSLog(@"block2 :%d",val);},
^{NSLog(@"block3 :%d",val);}];
0197F8FF-0167-491B-ABD8-E99250979556.png
网友评论