-1

I'm Using LongPress on control and drag different positions in views. I found out the starting position using UIGestureRecognizerStateBegan. how do i found out the UIGestureRecognizerStateChanged position?

vignesh.P
  • 41
  • 9

1 Answers1

0
if( UIGestureRecognizerStateChanged)
{
            CGPoint center = snapshot.center;
            center.y = location.y;
            snapshot.center = center;
}
if (UIGestureRecognizerStateEnded)
{
     location = [longPress locationInView:self.tableView];
}
Cody Gray - on strike
  • 239,200
  • 50
  • 490
  • 574
vignesh.P
  • 41
  • 9