I have a UIView inside a UIScrollView, inside the UIView is a button. The issue is that when I press that button, hold it, (in this case the button state is pressed) and try to scroll, my scroll view doesn't scroll. In which it should. The UIView has a gesture recognizer in it and I am trying to use one of it's delegate to allow the scroll view to be scrolled if I have my hands pressed the UIButton and scroll. How do I do this?
Basically to summarize, I need to pass the touch event to the scroll view if the button is pressed/hold. If it's a touch up event from the button then clearly it should trigger the action of the button and not scroll.