selectedBackgroundView 썸네일형 리스트형 테이블뷰에 디자인 적용하기 테이블뷰에 디자인을 적용할 때 팁 몇가지. 1. 테이블뷰 셀 배경색 설정 셀의 배경색 설정은 UITableViewDelegate의 tableView:willDisplayCell:forRowAtIndexPath에서 해야한다. 홀/짝수에 다른 색을 적용하려면 다음과 같이 하면 된다. - (void)tableView:(UITableView *)tableView willDisplayCell:(UITableViewCell *)cell forRowAtIndexPath:(NSIndexPath *)indexPath { if (indexPath.row % 2 == 0) { cell.backgroundColor = [UIColor redColor]; } else { cell.backgroundColor = [UIColo.. 더보기 이전 1 다음