定义ImageView的UITapGestureRecognizer(继承自uiview)
mSingleTap =[[UITapGestureRecognizer alloc]initWithTarget:self action:@selector(imageViewClicked:)];
[mImgView addGestureRecognizer:mSingleTap];
响应方法
-(IBAction) imageViewClicked:(id)sender
{
//...;
}