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

PaginationView crashes with 2 pages if cyclesPages is true #473

Open
buscarini opened this issue Apr 17, 2024 · 0 comments
Open

PaginationView crashes with 2 pages if cyclesPages is true #473

buscarini opened this issue Apr 17, 2024 · 0 comments

Comments

@buscarini
Copy link

It seems that you shouldn't try to cycle pages if there are less than 3:

https://stackoverflow.com/questions/42833765/assertion-failure-in-uipageviewcontroller

We had a crash, and we are now checking for the amount of pages to enable or disable the "cyclesPages" option. I think this should be ignored and interpreted as false if there are less than 3 pages.

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

1 participant