How can I use touchesbegan in a table's cell without having to subclass a whole cell. Something like addTarget..... which is available for a UIButton?
(in vb.net this would be like AddHandler I think)
How can I use touchesbegan in a table's cell without having to subclass a whole cell. Something like addTarget..... which is available for a UIButton?
(in vb.net this would be like AddHandler I think)
You must subclass UITableViewCell
in order to have access to individual touches on a tableview cell.
You cant do it, you will have to subclass UITableView cell just like the post before me said, then you can add some view in the cells content view there which can delegate the touches to the tableviewcontroller or wherever they need to go...