开发者

"setText: is deprecated" warning

When I run my app, a warning pops up that says "'setText:' is deprecated.how can i rewrite this line of code to 开发者_C百科get rid of the error?

cell.text = [moreArray objectAtIndex:row];

Thanks


Use this:

cell.textLabel.text = [moreArray objectAtIndex:row];
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜