View mode

There are a few view modes which can be adjusted to provide an optimal presentation such as layout, fit, or reflow.

Page layout/presentation mode on iOS

PDFViewCtrl supports a number of page layouts (presentation modes), as listed below:

Page presentation mode

Description

e_trn_single_page

Displays one page at a time, swiping left and right to change pages.

e_trn_single_continuous

Displays one page at a time, scrolling up and down to change pages.

e_trn_facing

Displays two pages at a time, with odd-numbered pages on left, swiping left and right to change pages.

e_trn_facing_continuous

Displays pages in two columns, with odd-numbered pages on left, scrolling up and down to change pages.

e_trn_facing_cover

Displays two pages at a time, with odd-numbered pages on right, swiping left and right to change pages.

e_trn_facing_continuous_cover

Display pages in two columns, with odd-numbered pages on right, scrolling up and down to change pages.

Set the page presentation mode

You can set page presentation mode in your PDFViewCtrl by using setPagePresentationMode(_:):

1self.pdfViewCtrl.setPagePresentationMode(e_trn_facing);

Did you find this helpful?

Trial setup questions?

Ask experts on Discord

Need other help?

Contact Support

Pricing or product questions?

Contact Sales