Hi all!
I got an touchdraginside-action which is connected in IB with a button.
-(IBAction)slide {
}
How can i check the start touch point in my button and how long the finger slides in this button? Can anybody help me, please?
With this code a can check the touch in my view... But i dont know how this works with a button?
-(void)touchesBeganNSSet *)touches withEventUIEvent *)event {
UITouch *touch =[touches anyObject];
gestureStartPoint =[touch locationInView:self.view];
}
Thank you for replies!