Skip to content

Overlapping cells due to iOS 10's pre-fetching #11

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

Open
cm-hugog opened this issue Sep 25, 2016 · 2 comments
Open

Overlapping cells due to iOS 10's pre-fetching #11

cm-hugog opened this issue Sep 25, 2016 · 2 comments

Comments

@cm-hugog
Copy link

With the new iOS 10's pre-fetching strategy the layout is overlapping cells

@git-hwa
Copy link

git-hwa commented Oct 3, 2016

I have same issue...
Any solution yet?

@bariscck
Copy link

bariscck commented Oct 8, 2016

OK, I found a solution!

if #available(iOS 10.0, *) {
            collectionView?.isPrefetchingEnabled = false
        } else {
            // Fallback on earlier versions
        }

Copy this code and paste into your UICollectionViewController ViewDidLoad() method.

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

3 participants