The gesture does not work for me

I start with this Apple tutorial .

So, I created a Tap gesture by dragging it onto the image, then dragging it to my UIViewControler , and the event (action) was created successfully.

But my problem is that it does not fire an event. Is there another thing I have to do?

+5
source share
1 answer

enter image description here

You must install USER Interaction Enabled from the UIImage view from the / xib storyboard

The “User interaction” mark is included in the “Interaction"

+20
source

All Articles