Вы можете изменить цвет ячейки в методе делегата UITableView следующим образом:
- (UITableViewCell *)tableView:(UITableView *)tableView
cellForRowAtIndexPath:(NSIndexPath *)indexPath {
UITableViewCell *cell = [tableView
dequeueReusableCellWithIdentifier:@"UITableViewCell"];
if (!cell) {
cell = [[[UITableViewCell alloc]initWithStyle:UITableViewCellStyleSubtitle
reuseIdentifier:@"UITableViewCell"]autorelease];
}
}
// Здесь вы можете изменить цвет / фон вашей ячейки на что угодно
// Изменить цвет:
[cell setBackgroundColor:[UIColor blackColor]];
// Изменить фоновое изображение ячейки:
UIImage *theImage = [UIImage imageNamed:@"ximage.png"];
[[cell imageView] setImage:theImage];
}