PSPDFTapAction
Objective-C
NS_CLOSED_ENUM(NSUInteger, PSPDFTapAction) {
/// Nothing happens.
PSPDFTapActionNone,
/// Zoom to the center of the user's tap.
PSPDFTapActionZoom,
/// Detect text blocks and zoom to the tapped text block.
PSPDFTapActionSmartZoom,
}
Swift
@frozen enum TapAction : UInt, @unchecked Sendable
Undocumented
-
Nothing happens.
Declaration
Objective-C
PSPDFTapActionNone
Swift
case none = 0
-
Zoom to the center of the user’s tap.
Declaration
Objective-C
PSPDFTapActionZoom
Swift
case zoom = 1
-
Detect text blocks and zoom to the tapped text block.
Declaration
Objective-C
PSPDFTapActionSmartZoom
Swift
case smartZoom = 2