Imran Sh
Imran Sh

Reputation: 1774

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?

Upvotes: 6

Views: 3047

Answers (1)

Arslan Asim
Arslan Asim

Reputation: 1302

enter image description here

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

Check mark User Interaction Enabled under "Interaction"

Upvotes: 22

Related Questions