// // CustomEdgeSlideGestureRecognizer.h // Voidex // // Created by True砖家 on 2024/4/30. // Copyright © 2024 True砖家 on Bilibili. All rights reserved. // #ifndef CustomEdgeSlideGestureRecognizer_h #define CustomEdgeSlideGestureRecognizer_h // CustomEdgeSlideGestureRecognizer.h #import @interface CustomEdgeSlideGestureRecognizer : UIGestureRecognizer @property (nonatomic, assign) UIRectEdge edges; // Specify the edge(s) you want to recognize the swipe gesture on @property (nonatomic, assign) CGFloat normalizedThresholdDistance; // Distance from the edge to start recognizing the gesture @property (nonatomic, assign) bool immediateTriggering; @property (nonatomic, assign) CGFloat EDGE_TOLERANCE; @end #endif /* CustomEdgeSlideGestureRecognizer_h */