Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to disable right UIPanGestureRecognizer ? #418

Open
zdf127 opened this issue Jun 19, 2021 · 2 comments
Open

how to disable right UIPanGestureRecognizer ? #418

zdf127 opened this issue Jun 19, 2021 · 2 comments

Comments

@zdf127
Copy link

zdf127 commented Jun 19, 2021

I need right PanGesture to popViewcontrollor, so I need forbidden cell right PanGesture

@isayeter
Copy link

same problem here. could you find any solution @zdf127 ?

@DouDouYup
Copy link

DouDouYup commented Apr 24, 2023

Just make a change in extension SwipeController: UIGestureRecognizerDelegate {}.
return abs(translation.y) <= abs(translation.x) to return abs(translation.y) <= abs(translation.x) && translation.x < 0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants