Reputation: 799
When I run my app, a warning pops up that says "'setText:' is deprecated.how can i rewrite this line of code to get rid of the error?
cell.text = [moreArray objectAtIndex:row];
Thanks
Upvotes: 1
Views: 279
Reputation:
Use this:
cell.textLabel.text = [moreArray objectAtIndex:row];
Upvotes: 7