I am using [b开发者_如何学JAVAutton.tag] = 50;
But it is not working.
I want to set tag to buttons.
That would be:
button.tag = 50;
Do yourself a favor and take the time to read through Apples The Objective-C Programming Language, in this case specifically about the Dot Syntax and declared properties.
精彩评论