创建你的imageView,名字叫 tapPage3
手势代码:
UITapGestureRecognizer *tapGesturRecognizer=[[UITapGestureRecognizer alloc]initWithTarget:self action:@selector(tapPage3)];
[page3 addGestureRecognizer:tapGesturRecognizer];
如果还是没反应, 设置
tapPage3userInteractionEnabled = YES;
网友评论