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];
精彩评论