开发者

Rename cell's text - iPhone SDK

Is there anyway of renaming a specific cell's text? I know what the row number is, but I d开发者_开发技巧on't know how to change the cell title.


NSIndexPath *indexPath = [NSIndexPath indexPathForRow:row inSection:section];
UITableViewCell *cell = [tableView cellForRowAtIndexPath:indexPath];
cell.textLabel.text = "new text";
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜