views:

195

answers:

2

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)

+1  A: 

You must subclass UITableViewCell in order to have access to individual touches on a tableview cell.

Jacob Relkin
A: 

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...

Daniel