UIView *cellBackView = [[[UIView alloc] initWithFrame:CGRectZero] autorelease]; cellBackView.backgroundColor = [UIColor colorWithPatternImage: [UIImage imageNamed:@"background.png"]]; cell.backgroundView = cellBackView;
UIView *viewSelected = [[[UIView alloc] init] autorelease]; viewSelected.backgroundColor = [UIColor whiteColor]; cell.selectedBackgroundView = viewSelected;