Files
VoidLink/Limelight/ViewControllers/CustomEdgeSlideGestureRecognizer.h
T
2025-06-06 12:00:23 +08:00

23 lines
787 B
Objective-C

//
// 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 <UIKit/UIKit.h>
@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 */