TransitionableTab
TransitionableTab copied to clipboard
Not working with selectedIndex
Hi, I've noticed that your framework isn't working when programmatically selecting an index.
I'd like to have a function to select an index and animating the transition.
EDIT: Temporary fixed with:
func setSelectedIndex(index: Int) {
guard let viewControllers = self.viewControllers else { return }
_ = self.tabBarController(self, shouldSelect: viewControllers[index])
self.selectedIndex = index
}
Hi. We will add this feature to the next version. Thank you.
@ParkGwangBeom any updates on this issue? still not working.
Check out this answer it might be able to help resolve this issue.