title: How to cancel LongPressGesture so PanGesture can recognise
body: <p>I working with <code>UIGestureRecognizer</code> atm creating some map alike program.</p>
  
  <p>My work require me to listen to both long press gesture and pan gesture separate, so each of them can do their own task.
  But in one case, i need to listen to long press first to know which object is chosen. After that, when i begin to move my finger (without lift it up), that object will be move too. It kind of like drag a marker around in google map. But because my long press recognizer already fired, pan gesture recognizer didn't get fire until i tab on the screen again.</p>
  
  <p>I tried something like</p>
  
  <pre><code>recognizer.enabled = NO;
  recignizer.enabled = YES;
  </code></pre>
  
  <p>But it didn't help at all.</p>
  
  <p>So i wonder if there anyway to cancel long press after it recognized (<code>UIGestureRecognizerStateBegan</code>) so pan gesture recognizer will be fire immediately when i begin to move. Or i have to use UIResponder to make it work ?</p>
  
  <p>Thank for your advice.</p>