I use on the my UIImageVIew the
-(IBAction)handlePanFrom:(UIPanGestureRecognizer *)recognizer
and in the my code I try to use a two state:
if([recognizer state] == UIGestureRecognizerStateBegan)
{
NSLog(@"Began");
}
if([recognizer state] == UIGestureRecognizerStateEnded)
{
NSLog(@"End");
}
in the console I see a "Began" message every time when I start move the UIImageView, but no any "End" message...
What I do wrong?