fdzsergio/SFFocusViewLayout

Overlapping cells due to iOS 10's pre-fetching

cm-hugog opened this issue · 2 comments

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

I have same issue...
Any solution yet?

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.