is it UITabBarController possible to select the tab in code?like UINavigationController we can use popViewController pop back to rootViewController instead of press the back button, so how can this implement in tabbarcontroller?
                +3 
                A: 
                
                
              Use the selectedIndex property on the UITabBarController. More information can be found in the UITabBarController Class Reference.
controller.selectedIndex = 4;
or use
[controller setSelectedIndex:4];
                  Gerco Dries
                   2009-05-07 08:06:49
                
              that should be [controller setSelectedIndex:4]
                  Jason Harwig
                   2009-05-21 02:58:42
                But that code doesn't trigger tabBarController:didSelectViewController:
                  goo
                   2010-06-11 00:03:33
                
                
                A: 
                
                
              
            Have you found resolution for trigger tabBarController:didSelectViewController?
                  awattar
                   2010-06-14 12:39:27