title: How to get a reference to the UITabBar in an iPhone app
body: <p>UIActionSheet has a showFromTabBar: method </p>
  
  <pre><code>- (void)showFromTabBar:(UITabBar *)view
  </code></pre>
  
  <p>But how to get a reference to the UITabBar?</p>
  
  <p>I'm currently using </p>
  
  <pre><code>UITabBar *tabBar = [self.tabBarController.view.subviews objectAtIndex:0];
  </code></pre>
  
  <p>I've also seen someone traversing tabBarController.view.subviews and looking for the UITabBar instance. Is there a better way to do this?</p>