I am trying to find a good way to show / hide menus, just like iBooks. To do this, I configured UITapGestureRecognizer, but, unfortunately, this means that none of the buttons on the screen work. I know I can use
tapRecognizer.cancelsTouchesInView = NO;
to allow touches to go through, but of course both things happen and I cannot cancel the show / hide menu.
Is there a way to stop UITapGestureRecognizer from playing on certain buttons or actions? Or is there a better way to do this overall?
Thanks for any help you can give me!
: - Joe
jowie source
share