I am trying to link the click of an accessory button in a UITableView
to a method in a particular class. The accessory is on multiple cells, created in code, and thus I can't just do a simple link in interface builder like I am used to.
How do I link an accessory arrow (from the end of a cell in a UITableView
) to a method?
Check out the tableView:accessoryButtonTappedForRowWithIndexPath:
method on the UITableViewDelegate
.
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