开发者

How to get label's text

I am learning iPhone programming. I want to know how to get any value that label holds. In my case label te开发者_如何学Cxt holds the float value (I am displaying that value from Slider's changed value). And I am trying to get that float value into a float variable.

Thanks


perhaps use the "floatValue" method of NSString

myFloat = [myLable.text floatValue];
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜