Closed raphaels17 closed 7 years ago
Hi
is there any equivalent of self.tabBarController.selectedIndex = 1 to swith the tab bar programmatically ?
Hi @raphaels17 Yes there is:
tabController.setIndex(2) //animated = true by default //or tabController.setIndex(2, animated: false)
Thanks :-)
Hi
is there any equivalent of self.tabBarController.selectedIndex = 1 to swith the tab bar programmatically ?