I'm a newbie just begun with iPhone and Obj-C for a month now.
I have two buttons, both of them call the same function as follows
[play addTarget:self action:@selector(showQstn:) forControlEvents:UIControlEventTouchUpInside];
Inside the function showQstn, I want to know what button was tapped. Any idea? Alternate ideas are welcome too.
TIA