iOS detect direction drag in UIVIEW

chhodipua

macrumors newbie
Original poster
Dec 7, 2011
5
0
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
 

chhodipua

macrumors newbie
Original poster
Dec 7, 2011
5
0
i dont think i am looking at multi touch, i am looking at single touch and horizental vertical both direction
 

KnightWRX

macrumors Pentium
Jan 28, 2009
15,046
4
Quebec, Canada
i dont think i am looking at multi touch, i am looking at single touch and horizental vertical both direction
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.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.