1. mmalsn's Avatar
    hi guys

    I have Tableview an of course it has cells

    and I add 3 buttons for each cell and one event for all cell


    the problem is i want to know which button is being selected to open a screen according to this value

    Thanks.
    08-18-2011 04:47 AM
  2. iiiisoft's Avatar
    There is a sender param, you can get it by sender.
    11-21-2011 09:48 AM
  3. Phonitive's Avatar
    Yes the function is :
    -(void) buttonTouchedid) sender;

    You can either compare the sender to your buttons, or the button.tag.
    An other option is to add a different observer for each one of your buttons.
    02-10-2012 06:27 AM
LINK TO POST COPIED TO CLIPBOARD