MGBoxKit icon indicating copy to clipboard operation
MGBoxKit copied to clipboard

Box.onLongPress gets called twice

Open halpz opened this issue 9 years ago • 1 comments

When I put a longpress handler on an MGBox - it gets called twice

halpz avatar Jul 02 '15 09:07 halpz

@halpz It gets called twice probably one time when the gesture start being detected UIGestureRecognizerStateBegan and when it is finished UIGestureRecognizerStateEnded

Make sure to implement the UIGestureRecognizerDelegate and verify the: gestureRecognizer.state == UIGestureRecognizerStateEnded OR UIGestureRecognizerStateBegan One of the two only

iNono22 avatar Mar 10 '16 15:03 iNono22