title: How to add a badge to a UITabBar that is customizable?
body: <p>I am adding a badge to my UITabBarController's UITabBar as such:</p>
  
  <pre><code>UITabBarItem *tbi = (UITabBarItem *)[stTabBarController.tabBar.items objectAtIndex:1];
  tbi.badgeValue = @"2";
  </code></pre>
  
  <p>However, my UITabBarController is customizeable, so the index may change. How can I make sure the badge gets applied to the correct UITabBarItem?</p>