PSPDFContextMenuOption

NS_ENUM(NSInteger, PSPDFContextMenuOption) {
    /// Displays a context menu. Suppresses situations where a popover would fit better.
    PSPDFContextMenuOptionMenuOnly,
    /// Displays a context menu. Allows a popover if situation fits.
    PSPDFContextMenuOptionAllowPopovers,
    /// Does not allow context menu, only presents popovers (if possible, otherwise does not present anything)
    PSPDFContextMenuOptionPopoversOnly,
}

Undocumented

  • Displays a context menu. Suppresses situations where a popover would fit better.

    Declaration

    Objective-C

    PSPDFContextMenuOptionMenuOnly

    Swift

    case menuOnly = 0
  • Displays a context menu. Allows a popover if situation fits.

    Declaration

    Objective-C

    PSPDFContextMenuOptionAllowPopovers

    Swift

    case allowPopovers = 1
  • Does not allow context menu, only presents popovers (if possible, otherwise does not present anything)

    Declaration

    Objective-C

    PSPDFContextMenuOptionPopoversOnly

    Swift

    case popoversOnly = 2