ios - responder chain goes subview to superview, what about scrollview? -


from apple doc subview(near screen) gets handle touch event first superviews.

on other hand, views added scroll view subview scroll view handles touch detect swipes first.

can treat scrollview case special case?

don't forget part:

if hit-test view cannot handle event, event travels responder chain described in “responder objects , responder chain” until system finds view can handle it.

if sub-view can't handle it, passed uiscrollview.


Comments

Popular posts from this blog

Glib GIOChannel -

delphi - When I encode/decode SMS PDU (GSM 7 Bit) user data, do I need prepend the UDH first? -

python - Obscure curses error message when creating a sub window -