Im trying to create a UICollectionViewCell
which uses the AVFoundation
Library to zoom in on the screen while the camera is open. The code works fine in a standard UIViewController
however when I try to run it inside of my UICollectionViewCell
I get the error
error: Illegal Configuration: The pinchToZoom: action from the UIPinchGestureRecognizer to the CollectionViewCell is invalid. Actions cannot be targetted at repeating content.
How can I fix this? Thank you.