Posted By

saturngod on 08/03/11


Tagged


Versions (?)

Insert Background in UITableView


 / Published in: iPhone
 

  1. UIView *backView = [[UIView alloc] initWithFrame:CGRectZero];
  2. backView.backgroundColor = [UIColor clearColor];
  3.  
  4. tblview.opaque=NO;
  5. tblview.backgroundView = backView;
  6. [backView release];
  7.  
  8. tblview.backgroundColor=[UIColor colorWithPatternImage:[UIImage imageNamed:@"bg.png"]];

Report this snippet  

You need to login to post a comment.