iOS 改变tableview cell的背景色

 cell.selectedBackgroundView = [[UIView alloc] initWithFrame:cell.frame];
    cell.selectedBackgroundView.backgroundColor = [UIColor colorWithRed:0.855f green:0.914f blue:0.957f alpha:1.00f];
    
    [cell.bt_start addTarget:self action:@selector(StartTimeAction:) forControlEvents:UIControlEventTouchUpInside];
    [cell.bt_end addTarget:self action:@selector(EndTimeAction:) forControlEvents:UIControlEventTouchUpInside];

 

你可能感兴趣的:(tableview)