i have been looking for a solution, but i cant seem to find it. I have two buttons on the interface. Both call the same action. Is there a way to find out which button raised the event? i m very new to iphone dev, so please just give me some guidance even if it looks too trivial.
Regards
khizar
In every event you have (id)sender parameter which is the object which triggered event. You can compare it to one of your buttons like this:
You could also set
tagproperty of your buttons, and check this parameter in click function: