detect direction drag in UIVIEW

Discussion in 'iOS Programming' started by chhodipua, Jan 12, 2012.

  1. chhodipua macrumors newbie

    Joined:
    Dec 7, 2011
    #1
    i understand i need to inherit UIVIEW and detect drags in there, but is there a straight forward calculation where I can drag 8 direction drag ? right buttom left top and 4 corners ?

    regards
     
  2. KnightWRX macrumors Pentium

    KnightWRX

    Joined:
    Jan 28, 2009
    Location:
    Quebec, Canada
    #2
  3. chhodipua thread starter macrumors newbie

    Joined:
    Dec 7, 2011
    #3
    i dont think i am looking at multi touch, i am looking at single touch and horizental vertical both direction
     
  4. ppilone, Jan 12, 2012
    Last edited: Jan 12, 2012

    ppilone macrumors 6502

    Joined:
    Jan 20, 2008
    #4
  5. KnightWRX macrumors Pentium

    KnightWRX

    Joined:
    Jan 28, 2009
    Location:
    Quebec, Canada
    #5
    The guide I pointed to provides all the information to do single and multi touch. Did you look at it ?

    There's 2 things here : Event Handling for multi touch events (including single touch, ie, touchesEnded, touchesBegan, etc..) and Gesture Recognizer (linked in the content bar on the left in the guide I pointed to).

    That's basically the whole documentation on what you want to do.
     

Share This Page