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

Error when scrolling to next view controller #39

Open
SebastainMisas opened this issue Jan 8, 2020 · 1 comment
Open

Error when scrolling to next view controller #39

SebastainMisas opened this issue Jan 8, 2020 · 1 comment

Comments

@SebastainMisas
Copy link

I have a bottom bar with just buttons for each button I call:

if let navController = self.navigationController as? SwipeViewController {
navController.scrollToNextViewController(2)
}

But I get this error
Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Unexpected view controller: <HooHa.ProfileViewController: 0x16006da00>'

@fortmarek
Copy link
Owner

Interesting, could you please provide me with a reproducible setup? (ie how you initiate SwipeViewController and such) If not, at least provide me with some more details, so I can look into this properly 🙂

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

2 participants