title: using xcode 5 interface builder for setting tab bar tint (background) color
body: <p>I am quite new to ios development and I have the following question.
  While designing a tabBar in a storyboard in xcode 5 I realized that I can't set the background color of the tabBar for ios 6.</p>
  
  <p>This seems to relate to the fact that in ios6 the bar backgroundcolor was tintColor and in ios 7 this was changed to barTintColor.</p>
  
  <p>If I change the storyboard "View as" parameter to "iOS 6.1 and Ealier" I see that the background color changes from the right value which I did set up in the attribut editor (Bar Tint) to the standard value of iOS 6.</p>
  
  <p>Of course I can set the value from code but this would be bad for maintainability.</p>
  
  <p>Is there I way how one can define this value for iOS 6 in the xcode 5 interface builder?</p>
  
  <p>UPDATE: Since I don't found a satisfying solution for this problem up to now I use the following workaround.
  I set the background color of the tabBar in the attribute inspector to the attributes "Bar Tint" and "Background" from the View.
  In my app delegate I use the following code:</p>
  
  <pre><code>UITabBarController *tabBarController = (UITabBarController *)self.window.rootViewController;
  UITabBar *tabBar = tabBarController.tabBar;
  
  if ([[[UIDevice currentDevice] systemVersion] floatValue] &lt; 7) {
      [tabBar setSelectedImageTintColor:tabBar.tintColor];
      tabBar.tintColor = tabBar.backgroundColor;
  }
  </code></pre>