Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not working with selectedIndex #6

Open
TheAbstractDev opened this issue Oct 9, 2018 · 3 comments
Open

Not working with selectedIndex #6

TheAbstractDev opened this issue Oct 9, 2018 · 3 comments

Comments

@TheAbstractDev
Copy link

TheAbstractDev commented Oct 9, 2018

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
    }
@ParkGwangBeom
Copy link
Owner

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

@fawzialrifai
Copy link

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

@dtroupe18
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants