开发者

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...

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜