PSPDFToolbarSpacerButton

Objective-C


@interface PSPDFToolbarSpacerButton : PSPDFToolbarButton

Swift

class ToolbarSpacerButton : ToolbarButton

Buttons that can be used as spacers for the toolbar (similar to UIBarButtonSystemItemFlexibleSpace and UIBarButtonSystemItemFixedSpace). Does not allow user interaction and is not visible, but takes up space on the toolbar. Use the properties described under “Metrics” form PSPDFToolbarButton for sizing.

  • Convenience factory method for creating flexible spacer button.

    Declaration

    Objective-C

    + (nonnull instancetype)flexibleSpacerButton;

    Swift

    class func flexible() -> Self