0

I am very new to iOS, in Android developing, I understand the fling gesture, but I cannot find the fling in iOS but find swipe gesture, if I want to implement fling up and down, I need to add two UiSwipeGestureRecognizers and set the direction as down and up, am I right? My second question is how to execute swipe gesture in iOS simulator, I always trigger pan gesture not swipe one.

wangshaoping
  • 83
  • 13

1 Answers1

0

I will answer my own question, question1, yes, I should add two recognizers. The second is how to requireGestureRecognizerToFail to tell the detector that when A action fails trigger Action B.

wangshaoping
  • 83
  • 13