0

I have a view that has a couple of buttons and I have a tab bar view controller with two different tabs. When I press one of the buttons in the view controller I want to jump to a specific tab in the tab bar view controller.

How would I go about this?

4

1 回答 1

3

尝试这个

[self.tabBarController setSelectedIndex:1];
于 2013-08-16T15:14:55.703 回答