//创建imageview
UIImageView *headImage = [[UIImageView alloc]initWithFrame: CGRectMake(30, 43, 60, 60)];
headImage.image = [UIImage imageNamed:@"bg_me_title"];
[self.view addSubview:headImage];
//打开用户交互
headImage.userInteractionEnabled = YES;
//给图片添加点击手势(也可以添加其他手势)
UITapGestureRecognizer *tap = [[UITapGestureRecognizer alloc]initWithTarget:self action:@selector(selectHeaderImage)];
[headImage addGestureRecognizer:tap];
//点击事件
-(void)selectHeaderImage
{
//具体的实现
}