title: how to determine which tabbar index is my view controller
body: <p>Can somebody please tell me how I can determine which tabbar index a view controller is at.</p>
  
  <p>to simplify - I can jump to a tabBarItem at the moment by hardcoding its index. </p>
  
  <pre><code>self.tabBarController.selectedIndex = 3;
  </code></pre>
  
  <p>However, should the user customize the tab bar items, there is a possibility the viewController at number 3 isn't the one that the user will want as it has been moved. How can I determine where it has moved to so I can select the correct one.</p>
  
  <p>Any help please.</p>
  
  <p>Thanks,</p>
  
  <p>Lee</p>