PSPDFToolbarDualButton

Objective-C


@interface PSPDFToolbarDualButton : PSPDFToolbarButton

Swift

class ToolbarDualButton : ToolbarButton

PSPDFToolbarButton that combines two buttons into one.

  • The primary button image.

    Declaration

    Objective-C

    @property (nonatomic, nullable) UIImage *primaryImage;

    Swift

    var primaryImage: UIImage? { get set }
  • The secondary button image. Gets composited together with primaryImage.

    Declaration

    Objective-C

    @property (nonatomic, nullable) UIImage *secondaryImage;

    Swift

    var secondaryImage: UIImage? { get set }
  • Draws primaryImage faded-out when set to false. Prevents action dispatch when enabled.

    Declaration

    Objective-C

    @property (nonatomic) BOOL primaryEnabled;

    Swift

    var primaryEnabled: Bool { get set }
  • Draws secondaryImage faded-out when set to false.

    Declaration

    Objective-C

    @property (nonatomic) BOOL secondaryEnabled;

    Swift

    var secondaryEnabled: Bool { get set }