I created a subclass of UIButton so that I have a checkbox on the iPhone. This flag is part of a subclass of UITableViewCell . My question is, how can I apply an action to a pressed button and implement this method in a table view controller?
I tried using the addTarget:action: method, but this does not seem to work. One option is to use an application delegate, but this is not a good programming practice.
Bart
source share