lab*_*b12 1 iphone xcode objective-c uitableview
有没有重命名特定单元格的文本?我知道行号是什么,但我不知道如何更改单元格标题.
NSIndexPath *indexPath = [NSIndexPath indexPathForRow:row inSection:section];
UITableViewCell *cell = [tableView cellForRowAtIndexPath:indexPath];
cell.textLabel.text = "new text";Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
1468 次 |
| 最近记录: |