1. Welcome to the new MacRumors forums. See our announcement and read our FAQ

How to distinct Gesture?

Discussion in 'iPhone/iPad Programming' started by mikezang, Jan 21, 2011.

  1. macrumors 6502a

    #1
    I use Pan Gesture to move my view, then I have a Custom Gesture for single finger rotation.

    I can handle my custom gesture if I only add it, if I add these two gestures, I can only handle Pan gesture, so I have to avoid to use Pan gesture, but I want to use it, what can I do?
     
  2. Moderator

    dejo

    Staff Member

    #2
    Why not do the rotation as two-finger? That's something much more natural for iOS users.
     
  3. macrumors 6502a

    #3
    I want to use single finger rotation for my app.
    By the way, in general. do you know how to handle multiple gestures?
     
  4. Moderator

    dejo

    Staff Member

    #4
    Sure. But maybe explain why you want to use it. How does it make sense within the context of your app?

    In general, I do, either through the creative use of touchesBegan/Moved/Ended or through UIGestureRecognizer.
     

Share This Page