PSPDFScrollInsetAdjustment

enum PSPDFScrollInsetAdjustment {}

Defines how the scroll view inset should be set.

  • Never adjust scroll view insets.

    Declaration

    Objective-C

    PSPDFScrollInsetAdjustmentNone

    Swift

    case none = 0
  • Adjust scroll view insets if the user interface view elements are always visible (e.g., PSPDFUserInterfaceViewModeAlways, or disabled shouldHideNavigationBarWithUserInterface).

    Declaration

    Objective-C

    PSPDFScrollInsetAdjustmentFixedElements

    Swift

    case fixedElements = 1
  • Adjust scrooll view insets whenever user interface view elements are visible.

    Declaration

    Objective-C

    PSPDFScrollInsetAdjustmentAllElements

    Swift

    case allElements = 2