rag*_*fin 11
您不需要图像或子类化单元格.在tableView中创建单元格时,只需执行以下操作:cellForRowAtIndexPath:
cell.selectedBackgroundView = [[[UIView alloc] initWithFrame:CGRectZero] autorelease];
cell.selectedBackgroundView.backgroundColor = [UIColor redColor];
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
8500 次 |
| 最近记录: |