I am using my UIImageVIew
-(IBAction)handlePanFrom:(UIPanGestureRecognizer *)recognizer
and in my code I try to use two states:
if([recognizer state] == UIGestureRecognizerStateBegan) { NSLog(@"Began"); } if([recognizer state] == UIGestureRecognizerStateEnded) { NSLog(@"End"); }
in the console, I see the message βStartedβ every time I start moving the UIImageView, but no message βEndβ ...
How am I wrong?
source share