title: How to differentiate between user swipe and tap action?
body: <p>I am developing a app in which I have a view which contains subView in it. 
  I want to track both swipe and tap actions such as a single click.</p>
  
  <p>Actions should be tracked only when the user touches within my subview. When the user taps I want to perform one action, when the user swipes I want perform another.</p>
  
  <p>For tracking the swipe, I implemented <code>UIGestureRecognizer</code> and it is working fine. But I don't know how to track the tap option. Please guide me how to achieve this.</p>
  
  <p>The main thing is, when I tap it should call tap action only and vice versa.</p>