Warning Regarding the UITableviewcell

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.

链接地址: http://www.djcxy.com/p/26980.html

上一篇: iPhone上的音频队列服务仅播放第一个入队缓冲区?

下一篇: 有关UITableviewcell的警告