Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Tap gesture not working for me

I am getting started with this Apple tutorial.

So I created a Tap Gesture by drag and drop on Image View, Then I control-drag into my UIViewControler and the Event (Action) is created successfully.

But my problem is that it is not firing the event. Is there any other thing I have to do?

like image 725
Imran Sh Avatar asked Jul 09 '15 14:07

Imran Sh


1 Answers

enter image description here

You must set USER Interaction Enabled of UIImage view from storyboard/xib

Check mark User Interaction Enabled under "Interaction"

like image 162
Arslan Asim Avatar answered Oct 15 '22 08:10

Arslan Asim