Simultaneous gesture recognizers in Iphone SDK

前端 未结 5 1301
灰色年华
灰色年华 2020-11-27 05:25

I need to catch two different swipping gestures using UISwipeGestureRecognizer(for example, UISwipeGestureRecognizerDirectionRight and UISwip

5条回答
  •  旧时难觅i
    2020-11-27 05:43

    I would suggest you read a little bit on the technique that the gesture recognizers use to recognize the gesture. I suppose, the first recognizer tries to recognize the gesture, but realizes that he does not has to respond to it and then somehow he does not pass it on.

    It's very useful to read how they work in order to understand how to use them.

    Hope this helps.

提交回复
热议问题