PSPDFContinuousScrollingLayout

Objective-C


@interface PSPDFContinuousScrollingLayout : PSPDFStackViewLayout

Swift

class ContinuousScrollingLayout : StackViewLayout

Undocumented

  • Ensures that the space alongside the transverse axis (the axis orthogonal to the scroll direction) is fully used by the page. When enabling this, spreads might not fully fit the screen and the user needs to scroll to completely see the spread.

    This means, when in horizontal scroll directions all spreads will have the height of the surrounding scroll view even though that means they become wider than the visible screen. For vertical scroll direction the opposite is the case: all spreads will have the width of the surrounding scroll view even though that means that tall pages might not entirely fit the visible screen and the user needs to scroll to completely see the page.

    Declaration

    Objective-C

    @property (nonatomic) BOOL fillAlongsideTransverseAxis;

    Swift

    var fillAlongsideTransverseAxis: Bool { get set }