PSPDFToolbarDualButton


@interface PSPDFToolbarDualButton : PSPDFToolbarButton

PSPDFToolbarButton that combines two buttons into one.

  • An implicitly added gesture long press recognizer.

    Declaration

    Objective-C

    @property (readonly, nonatomic)
        UILongPressGestureRecognizer *_Nonnull longPressRecognizer;

    Swift

    var longPressRecognizer: NSPressGestureRecognizer { get }
  • The primary button image.

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic, nullable) UIImage *primaryImage;

    Swift

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

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic, nullable) UIImage *secondaryImage;

    Swift

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

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic) BOOL primaryEnabled;

    Swift

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

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic) BOOL secondaryEnabled;

    Swift

    var secondaryEnabled: Bool { get set }