Some test text!

Search
Hamburger Icon

iOS / Guides / View mode

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_pageDisplays one page at a time, swiping left and right to change pages.
e_trn_single_continuousDisplays one page at a time, scrolling up and down to change pages.
e_trn_facingDisplays two pages at a time, with odd-numbered pages on left, swiping left and right to change pages.
e_trn_facing_continuousDisplays pages in two columns, with odd-numbered pages on left, scrolling up and down to change pages.
e_trn_facing_coverDisplays two pages at a time, with odd-numbered pages on right, swiping left and right to change pages.
e_trn_facing_continuous_coverDisplay 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(_:):

self.pdfViewCtrl.setPagePresentationMode(e_trn_facing);

Get the answers you need: Chat with us