2010-08-14 51 views

回答

2

你在找什麼叫做「selectedIndex」。

如果你想切換到你的第二個TabBar,所以你會打電話

self.tabBarController.selectedIndex = 1; 

你tabbars從索引0

0

使用的selectedIndex財產。它可以幫助你。