NSArray data in UILabel
I am trying to put NSArray data by([array valueForKey:@"v开发者_如何转开发alue_name"]) in uilabel it throws exception.
Regards, sathish
How are you assigning this to the UILabel?
You should be doing something like:
myLabel.text = [myArray objectAtIndex:0];
If you want to retrieve it using the valueForKey method then a variable type such as NSDictionary maybe a better match for it...
精彩评论