lxcid / LXReorderableCollectionViewFlowLayout

Extends `UICollectionViewFlowLayout` to support reordering of cells. Similar to long press and pan on books in iBook.
http://lxcid.com/
MIT License
1.86k stars 328 forks source link

Collection View Flicker on iPhone 6 and iPhone 6 Plus #87

Open BrettSchumann opened 9 years ago

BrettSchumann commented 9 years ago

I wonder if anyone can shed some light on the problem I am having. When the long press is activated the UICollectionView has a very brief flicker (like a bad reload). This only seems to happen on the iPhone 6 and the iPhone 6+ (both on device and sim) but does not seem to happen on the following devices iPhone 3GS (iOS6), iPhone 4 (iOS7), iPhone 5 (iOS7) and iPhone 5 (iOS8)

Does anyone have any clues ? I have tried setting the cells opaque values to NO but did not result in any change.

Just to confirm the whole screen flickers - including the nav bar etc. It appears as if the screen animates from small to large in a fraction of second and make the flicker.

BrettSchumann commented 9 years ago

Just as a heads up to others out there that have this problem or similar it is to the with [self snapshotViewAfterScreenUpdates:YES]; and the screen sizes on iPhone 6/6+ when your storyboards and stuff is still coded again screen sizes for iPhone 5 and below. I updated the YES to NO and it solved the problem for me but made not difference to the way the library worked.

http://stackoverflow.com/questions/25951277/snapshot-methods-broken-on-iphone-6-device-and-simulator/26532531#26532531

The above link may shed some light on the subject.

mgiraldo commented 8 years ago

this fixed the flicker on my project too and it was happening in other iPhone models