Graphics Programs Reference
In-Depth Information
UIResponder
methods. If the gesture recognizer eats these touches, then users will not
be able to draw lines.
When you set
cancelsTouchesInView
to
NO
, touches that the gesture recognizer re-
cognizes also get delivered to the view via the
UIResponder
methods. This allows both
the recognizer and the view's
UIResponder
methods to handle the same touches. If
you're curious, comment out the line that sets
cancelsTouchesInView
to
NO
and
build and run again to see the effects.