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

milktooth

macrumors member
Original poster
Oct 30, 2009
32
0
Code:
-(void) hereIsaMethodInMyAppDelegate {



	tabBarController.selectedIndex = 1;


}

But before I switch tabs, I want to set some instance variables and perhaps call some instance methods. Does the instance of tab 1's view controller exist before "tabBarController.selectedIndex = 1;" ?

How do I message the tab's view controller? Where is the instance created? What is it called?
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.