tags:

views:

25

answers:

3

Hello,

I have a scroll view with images inside it and I'm using touhesBegan, touchesMoved, and touchesEnded to tap on an image to enlarge it. But It does not seem that the scroll view is responding to touches at all.

I tried most of methods in similar questions but still does not work.

I have been working on that for long so please any help would be appreciate it. Thanks,

A: 

Did you link them correctly in Interface Builder? Did you add the proper delegates? If not, then link the scrollview to your view controller in Interface Builder and make sure you view controller has the proper delegates added.

Henry Balanon
A: 

A UIScrollView handles certain touches and does not pass these events down to included views. If you subclass the scroll view, then you can inspect events and handle or pass the appropriate ones down the responder chain. But you can't handle every touch event, or the scrollview itself will stop working (scrolling, zooming, etc.)

hotpaw2
A: 
MishieMoo