title: iOS: On 'Automatic TabBar switched' method
body: <p>I'm trying to switch tabs programmatically and ensure that on switch the respective Navigation Controller pops to the root view controller. Is there a method that is invoked when tab bar is switched manually or programmatically?</p>
  
  <p>Note: 
  <code>-(void)tabBarController:didSelectViewController:</code> is only invoked on manual switching of the tab bars</p>