PSPDFToolbarDualButton
Objective-C
@interface PSPDFToolbarDualButton : PSPDFToolbarButton
Swift
class ToolbarDualButton : ToolbarButton
PSPDFToolbarButton that combines two buttons into one.
-
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 }