UISwipeGestureRecognizer not working

后端 未结 3 713
星月不相逢
星月不相逢 2021-01-07 13:37

I have a UIView inside of a UIScrollView, both created using IB. The UIView scrolls horizontally inside the UIScrollView. I want to detect left and right 2 finger swipes.

3条回答
  •  一生所求
    2021-01-07 13:57

    Try setting the delayContentTouches-property of the UIScrollView to NO, maybe it'll help.

提交回复
热议问题