cell.selectedBackgroundView = [[UIView alloc] initWithFrame:cell.frame]; cell.selectedBackgroundView.backgroundColor = [UIColor whiteColor]; - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath {
// 如果需要保持选中状态注释代码即可 [_tableView deselectRowAtIndexPath:indexPath animated:YES]; }