开发者

How to set tag to a button?

开发者 https://www.devze.com 2023-01-12 12:03 出处:网络
I am using [b开发者_如何学JAVAutton.tag] = 50; But it is not working. I want to set tag to buttons.That would be:

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

精彩评论

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