TransitionableTab icon indicating copy to clipboard operation
TransitionableTab copied to clipboard

Not working with selectedIndex

Open TheAbstractDev opened this issue 5 years ago • 3 comments

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
    }

TheAbstractDev avatar Oct 09 '18 09:10 TheAbstractDev

Hi. We will add this feature to the next version. Thank you.

ParkGwangBeom avatar Oct 20 '18 12:10 ParkGwangBeom

@ParkGwangBeom any updates on this issue? still not working.

fawzialrifai avatar Apr 28 '19 16:04 fawzialrifai

Check out this answer it might be able to help resolve this issue.

dtroupe18 avatar May 07 '19 13:05 dtroupe18