Open developer-poplar opened 7 months ago
我使用gestureControl.longPressed实现长按操作,但是在长按过程中滑动手势也是可以触发的,是尝试使用了disableGestureTypes和ControlView中的customDisablePanMovingDirection都无法禁用滑动。我目前需要在ZFLongPressGestureRecognizerStateBegan时禁用滑动,在ZFLongPressGestureRecognizerStateEnded是开启滑动,请问需要如何设置
我在ZFPlayerGestureControl中添加了自定义属性通过gestureRecognizerShouldBegin来临时解决了此问题,不过希望作者能给出更好的解决方案
我使用gestureControl.longPressed实现长按操作,但是在长按过程中滑动手势也是可以触发的,是尝试使用了disableGestureTypes和ControlView中的customDisablePanMovingDirection都无法禁用滑动。我目前需要在ZFLongPressGestureRecognizerStateBegan时禁用滑动,在ZFLongPressGestureRecognizerStateEnded是开启滑动,请问需要如何设置