2012-03-18 2 views
0

현재 내 tableview는 다음과 같이 보입니다. this is my current view cell.textLabel 및 cell.detailTextLable 모두이 배경을로드하며로드를 중지하는 방법을 찾을 수 없습니다. 배경, 그리고 그것만이 세포의 뒷받침 일뿐입니다.TableView 백그라운드 이미지가 셀로 이동합니다. textLabel

- (void)tableView:(UITableView *)tableView willDisplayCell:(UITableViewCell *)cell forRowAtIndexPath:(NSIndexPath *)indexPath { 
    [cell setBackgroundColor:[UIColor colorWithPatternImage:[UIImage imageNamed:@"tableCell.png"]]]; 
} 

가 어떻게이 문제를 피해 갈 수 있습니다

다음은 셀을 변경하는 내 현재 코드입니까? 미리 감사드립니다.

답변

1

시도해 보셨습니까? [[cell contentView] setBackgroundColor:blabla];?

+0

그 작품, 건배 남자! –

관련 문제