Recognize Taps on a Nested View

I have set up a tap gesture recognizer for a view but it isn’t being fired. The structure is like this:

CollectionView
 > Collection View Cell
   > StackView
     > View 1
     > View 2

UserInteraction is enabled for everything.

@priteshdesai Do you still have issues with this?

Hi @priteshdesai,
could you post some code, there could be a couple of issues, one could be that your gesture might be released due to the scoping, looking at your code can help to resolve that.

cheers,

This topic was automatically closed after 166 days. New replies are no longer allowed.