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

TouchGesture Canceling all the external touch events #7

Open
allnash opened this issue Apr 21, 2015 · 0 comments
Open

TouchGesture Canceling all the external touch events #7

allnash opened this issue Apr 21, 2015 · 0 comments

Comments

@allnash
Copy link

allnash commented Apr 21, 2015

Please edit and add the following line.
UITapGestureRecognizer *singleTap = [[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(dismissMenu)];

// The setCancelsTouchesInView:NO will ensure that all single taps are passed through, for example if a Table view controller is used.
UITapGestureRecognizer *singleTap = [[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(dismissMenu)];
[singleTap setCancelsTouchesInView:NO];

Thanks
Nash

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