Important: Please read the Qt Code of Conduct -

QML SwipeView two-finger swipe

  • How can I achieve a gesture control with two fingers instead of only one finger in a SwipView.

    Rational: If the SwipeView has for example an included map page or a ListView with SwipeDelegate or any other Component that has the same single finger swipe gesture, then the gesture controls collide.

    In iOS swift the UIScrollView is kind of comparable to the SwipeView in QML. Here the trick is:

    myScrollView.panGestureRecognizer.minimumNumberOfTouches = 2;

Log in to reply