I have 2 UITableViews. When I click the UIButton outside of either UITableView I’m trying to determine which cells are selected in each tableview.
Anyone have a good way of doing this? Would I loop over the cells to determine which cell is currently selected? Or is there already a method that can tell me?
Thanks a bunch!
You can use this method:
Take a look at
UITableViewDelegate Protocol ReferenceUITableViewDelege Reference
EDIT: When the user select a row in one of your tables you can get it using this method and a couple of variables for the table and the cell and then you can pass what you got as soon as the user tap on your button.