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];

 

posted @ 2015-03-31 13:51  爱生活爱代码  阅读(556)  评论(0编辑  收藏  举报