views:

46

answers:

1

I want to get back a button, I have already assign the tag to there, how can I do so? Thank you... ...

+1  A: 

Use the viewWithTag method. e.g. if your button is in your controller's view and your button's tag is 100 the following line will return the button:

   UIbutton *button = (UIButton *)[self.view viewWithTag:100];
lukya