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

Tap gesture not working on iOS 10+ #55

Open
renanstig opened this issue May 9, 2017 · 0 comments
Open

Tap gesture not working on iOS 10+ #55

renanstig opened this issue May 9, 2017 · 0 comments

Comments

@renanstig
Copy link

Hello,

First, thanks for sharing this library with us, it's really great.
I'm facing a problem which my tap gesture seems not to be recognized by the UIView.
I did a quick search in the list of closed issues and I found out that I should change is enabled property to false.

I did it and set UserInteractionEnabled to true, but even so my tap gesture still don't work. Do you have any idea what I'm doing wrong?
Here's the full code

reviewsNumber.addGestureRecognizer(UITapGestureRecognizer(target: self, action: #selector(self.openReviews(_:)))) reviewsNumber.isEnabled = false reviewsNumber.isUserInteractionEnabled = true

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