Posted By

BenClayton on 03/17/11


Tagged


Versions (?)

Who likes this?

4 people have marked this snippet as a favorite

off
Tintenklecks
cnathan
dvel


iPhone: Change the background color of the bounce area above a UITableView


 / Published in: Objective C
 

from http://stackoverflow.com/questions/1166236/light-gray-background-in-bounce-area-of-a-uitableview

  1. UIView *topview = [[[UIView alloc] initWithFrame:CGRectMake(0,-480,320,480)] autorelease];
  2. topview.backgroundColor = [UIColor colorWithRed:226.0/255.0 green:231.0/255.0 blue:238.0/255.0 alpha:1];
  3.  
  4. [self.tableView addSubview:topview];

Report this snippet  

You need to login to post a comment.