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

/ Published in: Objective C
Save to your folder(s)

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

Copy this code and paste it in your HTML
  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];
  4. [self.tableView addSubview:topview];

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.