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

Back Gesture #96

Closed
DmitriyTerekhin opened this issue Jul 19, 2018 · 2 comments
Closed

Back Gesture #96

DmitriyTerekhin opened this issue Jul 19, 2018 · 2 comments

Comments

@DmitriyTerekhin
Copy link

DmitriyTerekhin commented Jul 19, 2018

Hello!
I want to use gesture for return back to previous view controller. I added back gesture to my view controller that has downView (i just did some setups for navigation controller). But the downView overlap my ViewController's view and don't allow to use that gesture. How to use back gesture with downView???

@128keaton
Copy link
Collaborator

@iwasrobbed
Copy link
Collaborator

iwasrobbed commented Jul 19, 2018

As Keaton said, there are multiple ways to enable back gestures. If you're composing your own view hierarchy with a DownView inside of a view controller which is inside of a navigation controller, you'll likely want to enable the navigationController.interactivePopGestureRecognizer like is described here: https://stackoverflow.com/a/43433530/308315

This isn't a Down specific question, so I'm closing this.

Repository owner locked as off-topic and limited conversation to collaborators Jul 19, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants