iOS: implement one-finger pan and two-finger pan gestures?
<p>The goal is to implement two pan gestures against the same SCNScene: one with one finger and the other with two fingers.</p>

<p>This code below isn't working. The one-finger pan function never gets invoked even though the gesture is assigned a distinct selector. One-finger pans and two-finger pans both invoke <code>sceneViewPannedTwoFingers</code>.</p>

<p>From reading other questions it seemed like <code>shouldRecognizeSimultaneouslyWithGestureRecognizer</code> might be the answer, but these pans are not happening simultaneously. It should be either a one-finger pan or a two-finger pan, never both at once.</p>

<p>Is it possible to have two pan gestures as described above? If so, what's the right way to do this?</p>

<pre><code>    // Handle one-finger pans
    let panRecognizer = UIPanGestureRecognizer(target: self, action: #selector(sceneViewPannedOneFinger))
    sceneView.addGestureRecognizer(panRecognizer)

    // Handle two-finger pans
    let twoFingerPanRecognizer = UIPanGestureRecognizer(target: self, action: #selector(sceneViewPannedTwoFingers))
    sceneView.addGestureRecognizer(twoFingerPanRecognizer)


func sceneViewPannedTwoFingers(sender: UIPanGestureRecognizer) {
    print("two finger pan!!!")
}


func sceneViewPannedOneFinger(sender: UIPanGestureRecognizer) {
    print("one finger pan!!!")
}
</code></pre>