开发者

Cocos2D - How to get a label's value

How can I get the value of La开发者_Python百科bel?

I'm able to set value using [label setString:[NSString stringWithFormat:@"%d", val]];

Trying to find the reverse of that, i.e grabbing the string value.

Thanks,

Tee


try [label label] or [label string].

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜