Posted By

paki on 10/06/11


Tagged


Versions (?)

Who likes this?

2 people have marked this snippet as a favorite

Tintenklecks
cnathan


Custom UITabBarController Background


 / Published in: Objective C
 

  1. CGRect frame = CGRectMake(0, 0, 480, 49);
  2. UIView *backView = [[UIView alloc] initWithFrame:frame];
  3. UIImage *backImage = [UIImage imageNamed:@"tabbar_bg.png"];
  4. UIColor *backColor = [[UIColor alloc] initWithPatternImage:backImage];
  5. backView.backgroundColor = backColor;
  6. [backColor release];
  7. [tabBarController.tabBar addSubview:backView];
  8. [backView release];

Report this snippet  

You need to login to post a comment.