Rewrite CustomEdgeSwipeGestureRecognizer to fix unexpected session disconnect, and for future configuration

This commit is contained in:
True Zhuanjia committed 2024-05-14 23:05:58 +08:00
1 parent 6207d77349
commit 82de44df54
3 files changed
+40 -38

No files matched your search

@@ -13,5 +13,8 @@
@interface CustomEdgeSwipeGestureRecognizer : 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
@end
#endif /* CustomEdgeSwipeGestureRecognizer_h */