UILabel 中的 NSArray 数据
我试图将 NSArray 数据 by([array valueForKey:@"value_name"]) 放入 uilabel 中,它会引发异常。
问候, 萨蒂什
I am trying to put NSArray data by([array valueForKey:@"value_name"]) in uilabel it throws exception.
Regards,
sathish
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您如何将其分配给 UILabel?
你应该这样做:
如果你想使用 valueForKey 方法检索它,那么像 NSDictionary 这样的变量类型可能更适合它......
How are you assigning this to the UILabel?
You should be doing something like:
If you want to retrieve it using the valueForKey method then a variable type such as NSDictionary maybe a better match for it...