title: iPhone - Stop UISwipeGestureRecognizer from triggering UIPanGestureRecognizer
body: <p>I have found many posts on managing gestureRecognizers, but I have not been able to find my answer, or rather get anything to work correctly.</p>
  
  <p>I have a UISwipeGestureRecognizer set to down in my Main ViewController, and a PanGestureRecognizer on the x axis attached to an overlay view that pulls the overlay view over to overlay my main view from the right.</p>
  
  <p>Swipe moves down, Pan is for Left to Right.</p>
  
  <p>I want the swipe down to work on all the views, and it does, but when the user swipes down on my overlay view, it also triggers the UIPanGestureRecognizer, which hides the view.
  I think this is because there is slight movement in the X direction when you swipe, so the Pan is getting triggered.</p>
  
  <p>How do I get my UIPanGestureRecognizer to only fire if it is a definite Pan to the left or right, and not the trailing end of a swipe?</p>
  
  <p>I have tried shouldRecognizeSimultaneouslyWithGestureRecognizer but it can't really work correctly. Currently they are all set to delegate self.</p>
  
  <p>Any help would tremendously appreciated. Thank you!</p>