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