PSPDFToolbarDualButton
Objective-C
@interface PSPDFToolbarDualButton : PSPDFToolbarButton
Swift
class ToolbarDualButton : ToolbarButton
PSPDFToolbarButton that combines two buttons into one.
-
Deprecated
Deprecated in PSPDFKit 9.4 for iOS. On iOS 13, PSPDFKit does not use this gesture recognizer and adding actions to it will not work.
On iOS 13, PSPDFKit does not use this gesture recognizer and adding actions to it will not work.
Declaration
Objective-C
@property (nonatomic, readonly) PSPDF_DEPRECATED_IOS( 9.4, "On iOS 13, PSPDFKit does not use this gesture recognizer and adding " "actions to it will not work.") UILongPressGestureRecognizer *longPressRecognizer;
Swift
var longPressRecognizer: UILongPressGestureRecognizer { get }
-
The secondary button image. Gets composited together with
primaryImage
. -
Draws
primaryImage
faded-out when set tofalse
. Prevents action dispatch when enabled.Declaration
Objective-C
@property (nonatomic) BOOL primaryEnabled;
Swift
var primaryEnabled: Bool { get set }
-
Draws
secondaryImage
faded-out when set tofalse
.Declaration
Objective-C
@property (nonatomic) BOOL secondaryEnabled;
Swift
var secondaryEnabled: Bool { get set }