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 added

[button1 addTarget:self action:mad:selector(draggedOut1:withEvent: ) forControlEvents:UIControlEventTouchDragInside];


then i want to detect the touch move left or right in thisUIevent

- (void) draggedOut1: (UIControl *) c withEvent:(UIEvent *) ev{

//my code//

}
how can i do that?

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