image.userInteractionEnabled = YES; UITapGestureRecognizer *tap = [[UITapGestureRecognizer alloc]initWithTarget:self action:@selector(imagePressed:)]; [image addGestureRecognizer:tap];
UIImageView添加点击事件
原文:http://www.cnblogs.com/ficow/p/5044222.html