I am using quickdialog for a form and I am trying to implement swipe to delete and have no idea how I would do that. Can anybody help me?
You can swipe to delete elements in a section by using QSortingSection in place of QSection and setting canDeleteRows to YES.
QSortingSection *foosection = [[QSortingSection alloc] init];
foosection.canDeleteRows = YES;
Proceed to add elements as usual and you should be able to swipe each element to have a "delete" button appear. Upon hitting the delete button, the item automatically disappears from the section.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With