开发者

How to set tag to a button?

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜