RCCPeakableImageView
RCCPeakableImageView copied to clipboard
motionEffect not working when used in a collectionView
When RCCPeakableImageView placed in a collectionViewCell, it only works for its first appearing. Once the cell is reused by another cell, the motionEffect is lost and the size is changing unexpectedly.
Same issue here. @johnnyclem 's fix doesn't work either. If you try scrolling up and down on either one of the table view or collection view examples, the image size will become altered and motionEffect becomes lost.
For anyone that's having trouble with this issue, I've implemented a fix. Not sure when it will be pulled into the main repo but in the meanwhile you can clone it here.
@Hoya Thanks for that. Could you please send me a pull request? I'll merge the changes then.