title: UIGesture recognition on different areas of a UIImageView
body: <p>I have this image:</p>
  
  <p><img src="https://i.stack.imgur.com/y8uVq.png" alt="enter image description here"></p>
  
  <p>What I want to do is to add a UITapGestureRecognizer to this image (or I can split the image in the different parts it consists of and add for each part a UITapGestureRecognizer) in order to have different actions according to the leaf tapped. If I split the image in different images each for each leaf the UIImageViews will probably overlap and tapping on one will be recognized as a tap on another one. Having just one image implies knowing the points of the screen that belongs to a leaf rather than to another one.</p>
  
  <p>Any clues on how to do it would be really appreciated. 
  Thanks </p>