这是给imageView添加事件;
imageView.userInteractionEnabled = YES;
UITapGestureRecognizer *tap=[[UITapGestureRecognizer alloc]initWithTarget:self action:@selector(tapClickOnlyShow:)];
[imageView addGestureRecognizer:tap];
-(void)tapClickOnlyShow:(UITapGestureRecognizer *)tap
{
UIImageView *imageView = (UIImageView *)tap.view;
}