- (void) longTapAction:(UILongPressGestureRecognizer *)longPress {
if (longPress.state == UIGestureRecognizerStateBegan) {
NSLog(@”long pressTap state :begin”);
}else {
NSLog(@”long pressTap state :end”);
}
}
- (void) longTapAction:(UILongPressGestureRecognizer *)longPress {
if (longPress.state == UIGestureRecognizerStateBegan) {
NSLog(@”long pressTap state :begin”);
}else {
NSLog(@”long pressTap state :end”);
}
}
本文标题:长按手势响应两次问题解决
本文链接:https://www.haomeiwen.com/subject/sutsnttx.html
网友评论