PSPDFToolbarButtonControlEvents
Objective-C
NS_OPTIONS(NSUInteger, PSPDFToolbarButtonControlEvents) {
/// Custom event for periodic button actions.
PSPDFControlEventTick = 1 << 24,
/// Similar to `UIControlEventTouchUpInside` but only sent if the button was
/// not sending `PSPDFControlEventTick` events before the touch up.
PSPDFControlEventTouchUpInsideIfNotTicking = 1 << 25
}
Swift
struct ControlEvents : OptionSet, @unchecked Sendable
Undocumented
-
Custom event for periodic button actions.
Declaration
Objective-C
PSPDFControlEventTick = 1 << 24
Swift
static var controlEventTick: ToolbarButton.ControlEvents { get }
-
Similar to
UIControlEventTouchUpInside
but only sent if the button was not sendingPSPDFControlEventTick
events before the touch up.Declaration
Objective-C
PSPDFControlEventTouchUpInsideIfNotTicking = 1 << 25
Swift
static var controlEventTouchUpInsideIfNotTicking: ToolbarButton.ControlEvents { get }