Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to handle touch event on UIButton added on cell of UITableView?

Tags:

iphone

I m adding UIButton on each cell of UITableView dynamically. I want to handle touch event on this UIButton. Can u plz help me to sort out this issue?

Thanks In Advance, Vikas

like image 878
vikas Savardekar Avatar asked Apr 26 '10 05:04

vikas Savardekar


1 Answers

[myCellButton addTarget:self action:@selector(myCellButtonPressed:) forControlEvents:UIControlEventTouchUpInside];
like image 64
Alex Reynolds Avatar answered Oct 02 '22 19:10

Alex Reynolds