Question

It's possible select the UITabBarItem desired in a TabBarController with 4 UITabBarItem with a click on a button?

Was it helpful?

Solution

Sure. Just set the tab bar controller's selectedViewController or selectedIndex property to the desired view controller or tab index.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top