长按手势响应两次问题解决

2017-03-16  本文已影响0人  柚子姑娘666

- (void) longTapAction:(UILongPressGestureRecognizer *)longPress {

if (longPress.state == UIGestureRecognizerStateBegan) {

NSLog(@”long pressTap state :begin”);

}else {

NSLog(@”long pressTap state :end”);

}

}

上一篇下一篇

猜你喜欢

热点阅读