I have 4 tabs in my iphone application. When user will click a button in tab-1, I want to move/switch user to another tab suppose tab-2.
How to do that?
You can use
[self.tabBarController setSelectedIndex:tabIndex];
where tabIndex
is the index of the tab you want to switch to.