让一个UIImageView响应点击事件
UIImageView *imgView = [[UIImageView alloc] initWithFrame:CGRectMake(0, 0,320, 44)];imgView.userInteractionEnabled = YES;UITapGestureRecognizer *singleTap = [[UITapGestureRecognizer alloc] initWi
原创
2011-10-29 12:14:16 ·
7486 阅读 ·
2 评论