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

Add UITapGestureRecognizer on the SWActionSheet to allow dismissal #82

Closed
wants to merge 1 commit into from

Conversation

anas-ambri
Copy link

Add UITapGestureRecognizer on the SWActionSheet to allow tracking of taps. This also permits dismissing the action sheet when clicking on the background. The check for which view has been clicked is pretty rudimentary, so I would be interested if someone can come up with something better. Closes #80

…taps. This also permits dismissing the action sheet when clicking on the background. The check for which view has been clicked is pretty rudimentary, so I would be interested if someone can come up with something better. Closes skywinder#80
@skywinder
Copy link
Owner

What do you mean, as "better"? Is there something bad in this implementation?

@anas-ambri
Copy link
Author

Nothing bad, just was hoping for a smarter way to check for the view on which the tap happens.

@skywinder
Copy link
Owner

I tested it on iPhone 5 iOS 7.0.1
The buttons stops respond to any actions. (not reproduced in simulator).

@anas-ambri
Copy link
Author

It seems to work fine on iOS 8 though. I have tried debugging today, with no avail. Any ideas?

@skywinder
Copy link
Owner

It also reproduced in simulator. Run example project on iphone 5 + iOS 7.1 and try to click on buttons

@skywinder
Copy link
Owner

@anas-ambri did you find this bug?

@skywinder
Copy link
Owner

It seems the submitter lost interest.

Please reference this if you have created a patch.

@skywinder skywinder closed this Nov 19, 2014
@skywinder skywinder mentioned this pull request Feb 13, 2015
@skywinder
Copy link
Owner

@anas-ambri this feature implemented in #140 and will be merged soon!

@anas-ambri
Copy link
Author

Thanks @skywinder

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

Successfully merging this pull request may close these issues.

2 participants