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";
精彩评论