#if (defined(USE_UIKIT_PUBLIC_HEADERS) && USE_UIKIT_PUBLIC_HEADERS) || !__has_include() // // UILongPressGestureRecognizer.h // UIKit // // Copyright (c) 2008-2018 Apple Inc. All rights reserved. // #import #import #import #import NS_HEADER_AUDIT_BEGIN(nullability, sendability) // Begins: when numberOfTouchesRequired have tapped numberOfTapsRequired times and been held for minimumPressDuration // Changes: when a finger moves // Ends: when a finger is lifted UIKIT_EXTERN API_AVAILABLE(ios(3.2)) NS_SWIFT_UI_ACTOR @interface UILongPressGestureRecognizer : UIGestureRecognizer @property (nonatomic) NSUInteger numberOfTapsRequired; // Default is 0. The number of full taps required before the press for gesture to be recognized @property (nonatomic) NSUInteger numberOfTouchesRequired API_UNAVAILABLE(tvos); // Default is 1. Number of fingers that must be held down for the gesture to be recognized @property (nonatomic) NSTimeInterval minimumPressDuration; // Default is 0.5. Time in seconds the fingers must be held down for the gesture to be recognized @property (nonatomic) CGFloat allowableMovement; // Default is 10. Maximum movement in pixels allowed before the gesture fails. Once recognized (after minimumPressDuration) there is no limit on finger movement for the remainder of the touch tracking @end NS_HEADER_AUDIT_END(nullability, sendability) #else #import #endif