Advertisement
Guest User

Table View Background..

a guest
Apr 19th, 2014
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.     UIImageView *newImage=[[UIImageView alloc]initWithFrame:CGRectMake(0, 0, self.view.frame.size.width, self.view.frame.size.height)];
  2.     [newImage setBackgroundColor:[UIColor redColor]];//here else you can add image
  3.     [self.view addSubview:newImage];
  4.    
  5.     UITableView *newTable=[[UITableView alloc]initWithFrame:CGRectMake(0, 0, self.view.frame.size.width, self.view.frame.size.height)];
  6.     [newTable setBackgroundColor:[UIColor clearColor]];
  7.    
  8.     [self.view addSubview:newTable];
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement