我新建了一个TabbedApplication,Tab bar Controller有两个tabItem,分别对应FirstViewController和SecondViewController控制器,我在FirstViewController的视图添加一个按钮,当我点击这个按钮的时候,Tab bar Controller当前选中控制器(视图)切换到SecondViewController,请问要用什么方法?
U
ITabBarController 有个方法是 setSelectedIndex = 1;就雹氏可以了
你获清肆冲取到UITabBarController 对答歼象 调用这个方法就可以了