Search code examples
iphonecocoa-touchuitableviewsdktouches

touchesBegan for UITable's Cell


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)


Solution

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