tags:

views:

19

answers:

3

Hi all,

I am working on app, in which I have 2 switch between tabs in tabbar controller. Is it possible in iphone. Please help me.

Thanks

A: 

Use selectedIndex property . it can help you.

A: 

What you're looking for is called "selectedIndex".

If you wanted to switch to your second TabBar, you'd call

self.tabBarController.selectedIndex = 1;

Your tabbars start from index 0.

Raphael Caixeta