Сначала просмотрите в вашем .h файле UIView *newView;
, объявите его свойство и синхронизируйте его в своем .m файле
Сейчас в cellForRowAtIndexPath
if(cell==nil){
................
.........
newView = [[UIView alloc] initWithFrame:CGRectMake(0, 0, cell.frame.size.width, cell.frame.size.height)];
[cell.contentView addSubview:newView];
................
...............
}
if(indexPath.row == 0){
newView.backgroundColor = [UIColor [UIColor colorWithPatternImage:[UIImage imageNamed:@"lightwood.jpg"]];
}
if(indexPath.row == 1){
newView.backgroundColor = [UIColor [UIColor colorWithPatternImage:[UIImage imageNamed:@"lightwood.jpg"]];
}
if(indexPath.row == 2){
newView.backgroundColor = [UIColor [UIColor colorWithPatternImage:[UIImage imageNamed:@"lightwood.jpg"]];
}
Если у вас возникнут дополнительные вопросы, пожалуйста, ударь меня.
EDIT:
если проблема еще не устранена, проверьте эту ссылку http://cocoawithlove.com/2009/04/easy-custom-uitableview-drawing.html