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