Yalantis / Koloda

KolodaView is a class designed to simplify the implementation of Tinder like cards on iOS.
https://yalantis.com
MIT License
5.37k stars 806 forks source link

How to allow only left swipe Any guide line for that ? #476

Open Jerry510 opened 2 years ago

Jerry510 commented 2 years ago

Report

The more information you provide, the faster we can help you.

⚠️ Select what you want - a feature request or report a bug. Please remove the section you aren't interested in.

A feature request

What do you want to add?

Please describe what you want to add to the component.

How should it look like?

Please add images.

Report a bug

What did you do?

Please replace this with what you did.

What did you expect to happen?

Please replace this with what you expected to happen.

What happened instead?

Please replace this with what happened instead.

Your Environment

Project that demonstrates the bug

Please add a link to a project we can download that reproduces the bug.

vzsg commented 2 years ago

It's right in the README, there's a method from the KolodaViewDelegate protocol that you can implement to control the allowed directions.