23 lines
537 B
Objective-C
23 lines
537 B
Objective-C
//
|
|
// CustomTapGestureRecognizer.h
|
|
// Moonlight
|
|
//
|
|
// Created by ZWM on 2024/5/15.
|
|
// Copyright © 2024 Moonlight Game Streaming Project. All rights reserved.
|
|
//
|
|
|
|
#ifndef CustomTapGestureRecognizer_h
|
|
#define CustomTapGestureRecognizer_h
|
|
|
|
|
|
|
|
@interface CustomTapGestureRecognizer : UIGestureRecognizer
|
|
|
|
@property (nonatomic, assign) uint8_t numberOfTouchesRequired;
|
|
@property (nonatomic, assign) double tapDownTimeThreshold;
|
|
@property (atomic, readonly) CGFloat lowestTouchPointHeight;
|
|
|
|
|
|
@end
|
|
#endif /* CustomTapGestureRecognizer_h */
|