0

I have a UIScrollView containing a UIImageView. now I also added a two finger rotation gesture to the imageView.

now the Rotation is not being recognized and whatever I do , it only pinch zooms the image.

I am not sure that Can I test a rotation gesture on simulator with option key and mouse ?

and If yes then is it that that my touches are all going to ScrollView instead of the gestureRecognizer added to the imageView ?

Amogh Talpallikar
  • 12,084
  • 13
  • 79
  • 135

1 Answers1

1

Yes your scrollview swallows all your touches. You have to transfer the touches from scrollview to your subview. You can check that in the below link.

https://stackoverflow.com/a/8831018/641062

Community
  • 1
  • 1
cocoakomali
  • 1,346
  • 1
  • 8
  • 7