摘要: 1 UIImageView *imageView = [[[UIImageView alloc] init];2 imageView.image = [UIImage imageNamed:@"image.png"];3 4 //设置5 imageView.userInteraction = YES;6 //图片点击事件7 UITapGestureRecognizer *gestureRecognize = [[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(clickImage)];8 阅读全文
posted @ 2013-08-07 15:53 wangzhenxiang 阅读(244) 评论(0) 推荐(0) 编辑