MCSwipeTableViewCell
MCSwipeTableViewCell copied to clipboard
release or stop swiping cell after certain percentage swiped
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!