cell.text = [tableoptions objectAtIndex:indexPath.row];
when i write this statement,I get warning like 'setText:' is deprecated.
how to remove this warning?????
cell.text = [tableoptions objectAtIndex:indexPath.row];
when i write this statement,I get warning like 'setText:' is deprecated.
how to remove this warning?????
Try:
cell.textLabel.text = [tableoptions objectAtIndex:indexPath.row];
The text property was deprecated and textLabel and detailedTextLabel were introduced. See Apple's Documentation.