<分区>
Possible Duplicate:
iPhone Multiple Columns in UITableView
任何人都可以帮助如何在 ios 中创建 2 列表格 View ?
最佳答案
您必须为此任务创建自定义单元格 View 。并在您的 TableView 中添加此自定义单元格。
根据您的查询,您只需创建 customButton 而不是图像,然后将图像和 tagValue
设置为该按钮,因此无论何时按下按钮,您都可以使用 tagValue
进行识别。
对于你的表格行
bt1.tag = [NSString stringWithFormat:@"%d0",indexPath.row];
bt2.tag = [NSString stringWithFormat:@"%d1",indexPath.row];
然后操纵它..:)
关于ios - 在 UITableview 中创建 2 列,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/13678364/