0

below cell selected image an gradient image every cell have an gradient image but when select any cell to navigate to another class gradient cell color should be orange

Cell have already an image (of size 320 * 103) and text- Highs And Lows from The 'Raly To Restore Sanity And' as shown in first cell.

My problem is that when I select any row for navigating to the detailsViewController the cellimage(of size 320 * 103) color should be change as like shown in below imageColor(orange color) (eg. third row). How to do this?

halfer
  • 19,824
  • 17
  • 99
  • 186
pinku
  • 57
  • 2
  • 10

2 Answers2

3

please check this stackoverflow which will help you.

Community
  • 1
  • 1
1
UIImageView*    paneon = [[UIImageView alloc] initWithFrame:CGRectMake(0, 0, 330, 139)];
    [paneon setImage:[UIImage imageNamed:@"bc-pane-01-on.png"]];//[NSString stringWithFormat:@"%@.png", todo.empphoto]]];
    paneon.opaque = YES; 

    cell.selectedBackgroundView=paneon;                                      

Thanks

Arun kumar OD

Andrei Sfat
  • 8,440
  • 5
  • 49
  • 69
user685487
  • 11
  • 1