Closed veersr9 closed 3 years ago
I don't think there's a way to block a swipe to either side as of yet. What exactly are you looking for? Should the card just animate back or not move in that direction at all?
As for increasing the card size, you can use sizeForItem
or change the topInset
and sideInset
properties.
How do I stop only left swipe. If I am doing this ->
func willSwipeCardAway(card: CardCell, index: Int, swipeDirection: SwipeDirection) {
-> But this is freezing the screen . And How can I increase card size.