I have a complex view hierarchy with all sorts of UIGestureRecognizer
's.
I then present an overlay UIView
and if the user interacts with this overlay, I do not want any gesture recognizers to fire that were placed underneath that overlay. Currently, for example, dragging causes gesture recognizers to fire beneath the overlay view to fire.
I would like to avoid any solution that leads to potential spaghetti code (ex. iterating through the view hierarchy and disabling gesture recognizers).
Similar question(s):