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

Disable Gesture Directions for modal #8

Closed
rgallagher27 opened this issue Jun 30, 2014 · 3 comments
Closed

Disable Gesture Directions for modal #8

rgallagher27 opened this issue Jun 30, 2014 · 3 comments
Assignees

Comments

@rgallagher27
Copy link

Is there any way to disable certain gesture directions when the modal has been presented

i.e. I only want to allow the user to drag the modal down to dismiss and not allow the pull up bounce gesture as it interferes with other things in my modal

Cheers

@zoonooz zoonooz self-assigned this Jun 30, 2014
@zoonooz
Copy link
Owner

zoonooz commented Jun 30, 2014

@rgallagher27 please try this :)

@rgallagher27
Copy link
Author

Using the setBounces method throws an error

-[ZFModalTransitionAnimator setBounces:]: unrecognized selector sent to instance 0x175954c0

*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[ZFModalTransitionAnimator setBounces:]: unrecognized selector sent to instance 0x175954c0'

@zoonooz
Copy link
Owner

zoonooz commented Jul 1, 2014

I cannot reproduce the error. Can you tell me what version of Xcode, iOS are you using. Maybe you try and see if it works in the demo project.

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

2 participants