Archive for December, 2008

Selecting an UITabBarItem in the “More…” section

Friday, December 19th, 2008 Share on Twitter

I needed to select an UITabBarItem located in the "More..." section, and I came to this solution: To select a viewController  of the tabBarController, I do the following (each tabBarItem has a tag) : - (IBAction) showAnotherTab:(id)sender { int tag = [sender tag]; NSArray *viewControllers = [self.tabBarController viewControllers]; for (int ...