XLGooeyGesture继承于UIGestureRecognizer,使用时只需要将手势添加给需要显示粘性动画的view即可
UIView *view = [[UIView alloc] init];
XLGooeyGesture *gesture = [[XLGooeyGesture alloc] init];
[view addGestureRecognizer:gesture];
参考我的文章
XLGooeyGesture继承于UIGestureRecognizer,使用时只需要将手势添加给需要显示粘性动画的view即可
UIView *view = [[UIView alloc] init];
XLGooeyGesture *gesture = [[XLGooeyGesture alloc] init];
[view addGestureRecognizer:gesture];
参考我的文章