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

Fix crash on iPad Air 3rd gen. (only !?) #140

Open
Quimoune opened this issue Jul 23, 2021 · 0 comments
Open

Fix crash on iPad Air 3rd gen. (only !?) #140

Quimoune opened this issue Jul 23, 2021 · 0 comments

Comments

@Quimoune
Copy link

Hello,

I've got an issue from several weeks but only on iPad Air (3rd gen.).
I didn't have time to know exactly what causing this crash.. but I made a small piece of code to prevent it.
I won't make a PR but if you could check and see this modification :

In JZWeekViewFlowLayout.swift in line 587 :
New line => let availableRange = CGFloat(floorf(Float(adjustedRange.upperBound)))...CGFloat(ceilf(Float(lastAvailableRange.upperBound)))

Otherwise your framework is awesome !!
Thanks.

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