UIImageView *imageView = [[UIImageView alloc] initWithFrame:CGRectMake(140, 330, 50, 50)];
imageView.userInteractionEnabled = YES;
//imageView.highlighted = YES;//flag设置标志以显示高亮图片
imageView.image = [UIImage imageNamed:@"imagetest"];
imageView.highlightedImage = [UIImage imageNamed:@"imagetesthighlingt"];//设置高亮图片
[self.view addSubview:imageView];