Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

andyiapan

macrumors newbie
Original poster
Feb 28, 2010
29
0
i have designed a square UIButton,
if i want touch down the UIButton, it will output a result,
if i touch down and move up, it will come out another result,
if i touch down and move down, it will come out another result,
if i touch down and move left, it will come out another result,
if i touch down and move right, it will come out another result,
also, left and top, right and top, left and down, right and down

how can i handle eight directions of one UIButton by touch and drag with different output value ?

how can i do that><

Many Thanks~~
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.