views:

50

answers:

1

I am using [button.tag] = 50; But it is not working.

I want to set tag to buttons.

+8  A: 

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.

Georg Fritzsche