0
cell.text = [tableoptions objectAtIndex:indexPath.row];
当我编写这个语句时,我得到像'setText:'这样的警告已被弃用。关于UITableviewcell的警告
如何消除此警告?????
cell.text = [tableoptions objectAtIndex:indexPath.row];
当我编写这个语句时,我得到像'setText:'这样的警告已被弃用。关于UITableviewcell的警告
如何消除此警告?????
尝试:
cell.textLabel.text = [tableoptions objectAtIndex:indexPath.row];
text属性已被废弃,并为textLabel和detailedTextLabel进行了介绍。见Apple's Documentation。
投票结束为1089676和其他人的确切副本 – marcc 2009-11-14 06:34:53