how do I get a button by tag in objective c?

all buttons have the same action and unique tags, how do I identify the button by tag?
charmingduckAsked:
Who is Participating?
 
darbid73Commented:
HI charmingduck

most objects have a tag property  this is because they all a UIViews, but you need to give the tag property a value at design time or when you add it dynamically.

Then it is just "myview.tag"  or "myButton.tag"
0
 
charmingduckAuthor Commented:
seriously? you can give a button a tag value?
0
 
charmingduckAuthor Commented:
I've requested that this question be deleted for the following reason:

the answer is not correct
0
 
darbid73Commented:
If the answer is not correct - are you telling us the linked answers are also wrong?
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.