UITableview Set Multi Selection programmatically
In my storyboard app, I can select multiple selection in edit mode. But my other application where everything is done programmatically, I cannot figure out where to program it. Where can I customize the edit mode for the UITableView?
+3
inVINCEable
source
to share
1 answer
Objective-C version:
[self.tableView setAllowsMultipleSelection:YES];
[self.tableView setAllowsMultipleSelectionDuringEditing:YES];
and Swift one:
self.tableView.allowsMultipleSelection = true
self.tableView.allowsMultipleSelectionDuringEditing = true
+8
tbaranes
source
to share