MCSwipeTableViewCell icon indicating copy to clipboard operation
MCSwipeTableViewCell copied to clipboard

release or stop swiping cell after certain percentage swiped

Open medinarodelsamson opened this issue 9 years ago • 0 comments

I would like to ask how can I achieve to stop or release a cell when swiping. Let's say I am at 25% on swiping a cell, I want to cell to snap back.

    - (void)swipeTableViewCell:(MCSwipeTableViewCell *)cell didSwipeWithPercentage:(CGFloat)percentage {
        if (percentage > 0.25) {
            // stop swiping or release cell
        }
    }

thanks!

medinarodelsamson avatar May 25 '15 14:05 medinarodelsamson