i have a point in my app where I remove one scrollview and add another. I want the same gestures in my previous scroll view to be present in the new one.
I have tried:
scrollView.gestureRecognizers = self.scrollView.gestureRecognizers;
But it just gave me a EXC_BAD_ACCESS.
Thank you!
You need to reinitialize the gesture recognizer with the new target. You can’t just copy it like this.