title: customizing a UITabBar ios7-ios8 buttons and background
body: <p>I've been stuggeling to change the uitabbar icons and background so it will look just the way I want it. everytime I change the background color it shows the color but not solid as the specific color I'm giving. also the images I set up for the items become gray when running.</p>
  
  <p>so I have a CV for start with a start button.
  button code:</p>
  
  <pre><code>- (IBAction)start:(id)sender {
  
  UIStoryboard *storyBoard = [self storyboard];
  Start *startViewController = [storyBoard instantiateViewControllerWithIdentifier:@"start"];
  [self presentViewController:startViewController animated:NO completion:nil];}
  </code></pre>
  
  <p>as you can see it only send to the second VC which is the UITabBarController.
  in the appdelegate i tried:</p>
  
  <pre><code>    Start *tabController = (Start *)self.window.rootViewController;
  
  //tab1
  UITabBar *tabBar = (UITabBar *)tabController.tabBar;
  UITabBarItem *item1 = [tabBar.items objectAtIndex:0];
  [item1 setImage:[[UIImage imageNamed:@"1.png"] imageWithRenderingMode:UIImageRenderingModeAlwaysOriginal]];
  
  //tab2
  UITabBarItem *item2 = [tabBar.items objectAtIndex:1];
  [item2 setImage:[[UIImage imageNamed:@"2.png"] imageWithRenderingMode:UIImageRenderingModeAlwaysOriginal]];
  //tab3
  UITabBarItem *item3 = [tabBar.items objectAtIndex:2];
  [item3 setImage:[[UIImage imageNamed:@"3.png"] imageWithRenderingMode:UIImageRenderingModeAlwaysOriginal]];
  //tab4
  UITabBarItem *item4 = [tabBar.items objectAtIndex:3];
  [item4 setImage:[[UIImage imageNamed:@"4.png"] imageWithRenderingMode:UIImageRenderingModeAlwaysOriginal]];
  </code></pre>
  
  <p>but it didn't seem to work. I look a lot but all I could find is tutorial about setFinishedSelectedImage: withFinishedUnselectedImage:; which didn't really help cause it's deprecated. all I could do so far is setting the uitabbar from the interfacebuilder.</p>
  
  <p>to change the color I simply changed the tint and the background color. also tried putting a uiimageview behind the uitabbar but it didn't seems to work either.</p>