I know there are similar posts on Stack but nothing that I've found has helped me find a solution.
- I have a scrollview added to a UIView.
I have added a UIButton to the same UIView above the scrollview.
- I want the UIButton to respond to a touchUp and fire an event.
- If someone DRAGS on the UIButton I want it to pass the event to the scrollView and drag the UIScrollView without firing the button event.
I know how to pass on a touch with hitTest returning the scrollview but this stops anything getting to the UIButton.
I don't want to add the UIButton to the UIScrollView.
Does anyone have a proposed solution?