PSPDFBackForwardButton

Objective-C


@interface PSPDFBackForwardButton : PSPDFStyleButton <PSPDFOverridable>

Swift

class BackForwardButton : StyleButton, Overridable

Back and forward buttons, used for the action stack navigation.

  • Returns a button pre-configured for the back button style.

    Declaration

    Objective-C

    @property (class, nonatomic, readonly)
        PSPDFBackForwardButton *_Nonnull backButton;

    Swift

    class var back: BackForwardButton { get }
  • Returns a button pre-configured for the forward button style.

    Declaration

    Objective-C

    @property (class, nonatomic, readonly)
        PSPDFBackForwardButton *_Nonnull forwardButton;

    Swift

    class var forwardButton: BackForwardButton { get }
  • Deprecated

    Deprecated in PSPDFKit 9.4 for iOS. On iOS 13, PSPDFKit dose not use this gesture recognizer and adding actions to it will not work.

    On iOS 13, PSPDFKit dose 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 dose not use this gesture recognizer and adding "
             "actions to it will not work.")
        UILongPressGestureRecognizer *longPressRecognizer;

    Swift

    var longPressRecognizer: UILongPressGestureRecognizer { get }