Reputation: 29886
Is it possible to change tabs programmatically?
Switch tabs so the user sees another tabs view.
Upvotes: 1
Views: 270
Reputation: 25665
Just set the selectedIndex
on the UITabBarController.
UITabBarController *tabbarController = ...
...
tabbarController.selectedIndex = 1; //Tabs indexed from 0, left to right
Upvotes: 2