PSPDFLinkAction

enum PSPDFLinkAction {}

Default action for PDF link annotations.

  • Link actions are ignored.

    Declaration

    Objective-C

    PSPDFLinkActionNone

    Swift

    case none = 0
  • Link actions open an UIAlertView.

    Declaration

    Objective-C

    PSPDFLinkActionAlertView

    Swift

    case alertView = 1
  • Link actions directly open Safari.

    Declaration

    Objective-C

    PSPDFLinkActionOpenSafari

    Swift

    case openSafari = 2
  • Link actions open in an inline browser (SFSafariViewController if available, falling back on PSPDFWebViewController).

    Declaration

    Objective-C

    PSPDFLinkActionInlineBrowser

    Swift

    case inlineBrowser = 3
  • Always uses PSPDFWebViewController, even when SFSafariViewController is available. Not generally recommended but might be required in certain settings for more control.

    Declaration

    Objective-C

    PSPDFLinkActionInlineWebViewController

    Swift

    case inlineWebViewController = 4