PSPDFFlexibleToolbarPosition

Objective-C

NS_OPTIONS(NSUInteger, PSPDFFlexibleToolbarPosition) {
    /// Undefined position. Upon display the toolbar can select an appropriate default
    /// position or restore position from previous runs.
    PSPDFFlexibleToolbarPositionNone = 0,
    /// The toolbar replaces the top (navigation)bar.
    PSPDFFlexibleToolbarPositionInTopBar = 1 << 0,
    /// The toolbar is positioned on the left side of the available screen real estate.
    PSPDFFlexibleToolbarPositionLeft = 1 << 1,
    /// The toolbar is positioned on the right side of the available screen real estate.
    PSPDFFlexibleToolbarPositionRight = 1 << 2,
    /// The toolbar is positioned at the top, below the navigation bar.
    PSPDFFlexibleToolbarPositionTop = 1 << 3,
    /// The toolbar is positioned on the left or right side of the available screen real estate.
    PSPDFFlexibleToolbarPositionHorizontal = PSPDFFlexibleToolbarPositionInTopBar | PSPDFFlexibleToolbarPositionTop,
    /// The toolbar is positioned in the top (navigation)bar or below it.
    PSPDFFlexibleToolbarPositionVertical = PSPDFFlexibleToolbarPositionLeft | PSPDFFlexibleToolbarPositionRight,
    /// The default toolbar postions in the top (navigation)bar and on the left and right side of the available screen real estate.
    PSPDFFlexibleToolbarPositionDefault = PSPDFFlexibleToolbarPositionInTopBar | PSPDFFlexibleToolbarPositionVertical,
    /// All valid toolbar positions. Excluding `PSPDFFlexibleToolbarPositionNone`.
    PSPDFFlexibleToolbarPositionAll = PSPDFFlexibleToolbarPositionHorizontal | PSPDFFlexibleToolbarPositionVertical,
}

Swift

struct Position : OptionSet

Undocumented