Just doing some programming for iPhone.. is there a method for this?
+1
A:
Yes. In a view controller:
self.tabBarController.selectedIndex = n;
You can also set selectedViewController
, if that is easier for you.
Paul Lynch
2010-05-20 06:52:07