i added
Code:
[button1 addTarget:self action:@selector(draggedOut1:withEvent: ) forControlEvents:UIControlEventTouchDragInside];
then i want to detect the touch move left or right in thisUIevent
Code:
- (void) draggedOut1: (UIControl *) c withEvent:(UIEvent *) ev{
//my code//
}
how can i do that?
Many Thanks