0

When I try to zoom in UIScrollView that I defined in a custom UIView I get this message:

Ignoring call to [UIPanGestureRecognizer setTranslation:inView:] since gesture recognizer is not active.

How can I solve the problem and succeed zooming?

Matteo Alessani
  • 10,094
  • 4
  • 39
  • 56
user784625
  • 1,898
  • 5
  • 24
  • 38
  • Try to find your solution [here](https://stackoverflow.com/questions/172255/how-do-i-programatically-zoom-a-uiscrollview). It gives you the complete methodology for zooming the scroll view. – iOS Jul 20 '11 at 12:22
  • its good, but not useful for me – user784625 Jul 20 '11 at 12:29
  • Is that an error message? – iOS Jul 20 '11 at 12:36
  • yes, this is an error message I get when I try to zoom on UIScrollView – user784625 Jul 20 '11 at 12:38
  • Are you using UIGestureRecognizer in your application? – iOS Jul 20 '11 at 12:55
  • Did u ever found ur solution. If yes please post answer or accept answer if ever that was helpful.. It might help others.. @user784625 – DivineDesert Feb 22 '12 at 05:27
  • I didn't find an answer just removed the gesture recognizer – user784625 Feb 22 '12 at 13:47
  • While this link may answer the question, it is better to include the essential parts of the answer here and provide the link for reference. Link-only answers can become invalid if the linked page changes. - [From Review](/review/low-quality-posts/23769381) – Rob Aug 12 '19 at 00:25

0 Answers0