//3.4添加手势
UITapGestureRecognizer *gesture = [[UITapGestureRecognizer alloc]initWithTarget:self action:@selector(tagBigImage:)]
//实现手势方法
-(void)tagBigImage:(UITapGestureRecognizer *)gesture
{
/*
*通过手势拿到对象view的tag
*/
UIImageView *imgV = (UIImageView *)[gesture view];
int tag = imgV.tag;
//_myScrollView = [[MyScrollView alloc]initWithFrame:CGRectMake(0, 0, 320, 480)];
//[_myScrollView addScrollView:_imageArr andIndex:tag];
// _myScrollView.delegate =self;
// [self.view addSubview:_myScrollView];
}
}