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

Block swipe gesture in some area #38

Open
xsoti opened this issue Feb 28, 2021 · 1 comment
Open

Block swipe gesture in some area #38

xsoti opened this issue Feb 28, 2021 · 1 comment

Comments

@xsoti
Copy link

xsoti commented Feb 28, 2021

I have UISlider and if user slightly miss it then swipe transition is fired, can I block swipe transition in some container view of UISlider?

@xsoti
Copy link
Author

xsoti commented Feb 28, 2021

Ok just in case someone else needs it - I done it by reassigning navigation controller gestures delegate to view controller and modify delegate method to ignore my container view.

If I will have some free time in the future I could add merge request with some custom property of classes that swipe should ignore

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

1 participant