PSPDFPresentationStyle

Objective-C

NS_CLOSED_ENUM(NSUInteger, PSPDFPresentationStyle) {
    /// Present the view controller using the style in its `modalPresentationStyle`.
    PSPDFPresentationStyleNone,

    /// Present the view controller full-width anchored to the bottom of the screen if the width is horizontally compact, and as a popover otherwise.
    PSPDFPresentationStyleHalfModal,
}

Swift

@frozen enum PresentationStyle : UInt, @unchecked Sendable

Undocumented

  • Present the view controller using the style in its modalPresentationStyle.

    Declaration

    Objective-C

    PSPDFPresentationStyleNone

    Swift

    case none = 0
  • Present the view controller full-width anchored to the bottom of the screen if the width is horizontally compact, and as a popover otherwise.

    Declaration

    Objective-C

    PSPDFPresentationStyleHalfModal

    Swift

    case halfModal = 1