Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

oceandrive

macrumors newbie
Original poster
Nov 17, 2008
28
0
Can someone please guide me how to do this.

1) Four items on the tab bar
2) Onload the focus is set the first item
3) If the user selects certain option on this view, I need to set the focus to third Tab bar item for the user to continue.

Thanks for the help.
 
got the solution
HelloWorldAppDelegate *theDelegate = (HelloWorldAppDelegate*)[[UIApplication sharedApplication] delegate];
tabController = theDelegate.tabBarController;
tabController.selectedIndex = 1;
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.