uibutton - How to get uicontrols by their ID in iphone dev environment -
I'm just starting to learn the iPhone API, and I've done a lot of windows programming, and I'm sure an object An object has been given to identify object ID or tag or something.
I have created a series of UIButtons in the interface builder, and each has an object ID. But I do not know how to get that ID from the UI button object in the IIPI app.
I see every person is going for the title, but this does not work for me because they have the same title. Or will I put an image in the button and use the title as an ID?
In the interface builder there is an "interface builder identity" which is estimating that I have an IPI API, do I?
The "View" section of the button attributes also has a setting called "tag", but this is a number that would be like this, but I can not find an API call that is either available.
I am just trying to explain that UI control is identified by any other medium whose title is. Thank you.
It is inherited from NSObject, you only need to call variable.tag
Comments
Post a Comment