Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

trailingSwipeActionsConfigurationForRowAtIndexPath never called #1079

Open
colinrblake opened this issue Dec 4, 2020 · 0 comments
Open

trailingSwipeActionsConfigurationForRowAtIndexPath never called #1079

colinrblake opened this issue Dec 4, 2020 · 0 comments

Comments

@colinrblake
Copy link

colinrblake commented Dec 4, 2020

I've implemented - (UISwipeActionsConfiguration *)tableView:(UITableView *)tableView trailingSwipeActionsConfigurationForRowAtIndexPath:(nonnull NSIndexPath *)indexPath and swipe as much as I can but it's never called. I've tried with and without XLFormSectionOptionCanDelete on the XLFormSectionDescriptor and it makes no difference. Does XLForm do something to preclude swipe actions?

UPDATE: If i use XLFormSectionOptionCanDelete, then when I click on the delete icon on the left side of the cell, my swipe action method IS called. But I still can't use a swipe gesture to make the swipe options appear.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant