I have a view hierarchy that includes a top-level UIView with a nested UIScrollView that contains numerous nested UIViews containing UILabels, UITextFields etc.
I'd like to overlay a UIView over the top of everything so I can intercept certain touch and drag events (basically for editing the overall layout).
I'd like the UIScrollView to still work, so I need to pass (all?) touches and gestures through the overlay to the underlaying views. When certain touches occur I will intercept the touch and create a dragging situation where the touched subview will be programmatically moved around within the subviews.
What is the best way to create the overlay UIView so that (all?) touches and gestures can be passed through? Some code examples would be hugely appreciated.
Many thanks.
In the end I revised my structure so the overlay handled everything using pan gestures