-
//图片被点击事件,当前第几张图片被点击了,和数组顺序一致
__weak NewsgzzViewController *wself = self;
[TopScro setImageViewDidTapAtIndex:^(NSInteger index) {
printf("第%zd张图片 ",index);
// [self TapActiomindera:(int)index];
[wself TapActiomindera:(int)index];
}];
//图片被点击事件,当前第几张图片被点击了,和数组顺序一致
__weak NewsgzzViewController *wself = self;
[TopScro setImageViewDidTapAtIndex:^(NSInteger index) {
printf("第%zd张图片 ",index);
// [self TapActiomindera:(int)index];
[wself TapActiomindera:(int)index];
}];