Posted By

saturngod on 01/09/11


Tagged


Versions (?)

Tableviewcell background


 / Published in: Objective C
 

  1. UIView *cellBackView = [[[UIView alloc] initWithFrame:CGRectZero] autorelease];
  2. cellBackView.backgroundColor = [UIColor colorWithPatternImage: [UIImage imageNamed:@"cellbg.png"]];
  3. cell.backgroundView = cellBackView;
  4. cell.textLabel.backgroundColor=[UIColor clearColor];

Report this snippet  

You need to login to post a comment.