- Controller 实现UIGestureRecognizerDelegate协议
- 重写方法
-
-(BOOL)gestureRecognizer:(UIGestureRecognizer *)gestureRecognizer shouldRecognizeSimultaneouslyWithGestureRecognizer:(UIGestureRecognizer *)otherGestureRecognizer{ return YES; }
4.为手势对象设置代理rotationGesture.delegate = self;
时间: 2024-12-08 01:50:26