如何使用下一个样式创建UITableViewCell(xib中的右侧详细信息)

例如,我可以使用下一个:
cell.style ='右边细节'(粗略)
谢谢!
yuj*_*uji 23
你想要的是UITableViewCellStyleValue1,但是你不能设置现有单元格的样式:你必须在创建时设置它.像这样:
UITableViewCell *cell = [[UITableViewCell alloc] initWithStyle:UITableViewCellStyleValue1 reuseIdentifier:@"YourIdentifier"];
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
21727 次 |
| 最近记录: |