i want to set image on cell .When i select that cell then only i want to pass image on it i have 3 section in tableview,
first section i have 1row.Second section i have 3row and third section i have 1 row so how to call selected image on cell .If i cliked any cell
i try thi code but it working but i am showing lable also with red color if this view appear on cell background then it hide the label bacground red color only i can see text which is coming on that label but label background color i can’t see why this happen .
i put this code in cellfor row at indexpath method
UIView *viewSelected = [[[UIView alloc] init] autorelease];
viewSelected.backgroundColor = [UIColor whiteColor];
cell.selectedBackgroundView = viewSelected;
you can accomplish this in
didSelectRowAtIndexPathmethod…..