(BOOL)gestureRecognizer:(UIGestureRecognizer )gestureRecognizer shouldReceiveTouch:(UITouch )touch
在scrollview中 添加了一个view,并给它增加了一个拖动手势。导致scrollview的拖动和view的pan拖动手势冲突。解决冲突是要使用该函数。但是怎么没有被调用?
This method is the delegate method of UIGestureRecognizer. Have you set the delegate for your customized gesture?
Just use the addTarget method, there is no need to use DelegateIf you use Delegate, you need to set GestureRecognizer.delegate = xxx
This method is the delegate method of UIGestureRecognizer. Have you set the delegate for your customized gesture?
Just use the addTarget method, there is no need to use Delegate
If you use Delegate, you need to set
GestureRecognizer.delegate = xxx