imageView.userInteractionEnabled = YES;
UITapGestureRecognizer *singleTap = [[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(imageClick:)];
[imageView addGestureRecognizer:singleTap];
UIImageView 添加事件
最新推荐文章于 2021-05-07 16:51:21 发布