Fernando Salcido
Fernando Salcido

Reputation: 1

UIImageView with gestures recognizers Xcode Ios

I have a UIImageView with gestures recognizers (scale, rotate, translate).

But after using it, the gestures don't work.

And my UIImageview changes the size and position.

How to fix this issue?

Upvotes: 0

Views: 1411

Answers (1)

Aaron Wojnowski
Aaron Wojnowski

Reputation: 6480

By default, UIImageViews do not have user interaction enabled. Try setting your UIImageView's user interaction enabled to "YES":

[myImageView setUserInteractionEnabled:YES];

Upvotes: 2

Related Questions