PSPDFReaderViewController
Objective-C
@interface PSPDFReaderViewController : PSPDFBaseViewController
Swift
class ReaderViewController : PDFBaseViewController
A view controller that shows Reader View, which reformats document text into an easy-to-read, single-column view that’s optimized for mobile devices.
Reader View is typically shown using the readerViewButtonItem
of a PDFViewController
,
but it may also be created and presented programatically.
This class does not support being created from a Storyboard or Interface Builder archive.
This requires the Reader View component to be enabled for your license.
See https://pspdfkit.com/guides/ios/features/reader-view/ for further documentation.
-
Unavailable
Not the designated initializer
Undocumented
Declaration
Objective-C
PSPDF_DEFAULT_VIEWCONTROLLER_INIT_UNAVAILABLE
-
Unavailable
Not the designated initializer
Undocumented
Declaration
Objective-C
PSPDF_DEFAULT_VIEWCONTROLLER_INIT_UNAVAILABLE
-
Unavailable
Not the designated initializer
Undocumented
Declaration
Objective-C
PSPDF_DEFAULT_VIEWCONTROLLER_INIT_UNAVAILABLE
-
Unavailable
Not the designated initializer
Undocumented
Declaration
Objective-C
PSPDF_DEFAULT_VIEWCONTROLLER_INIT_UNAVAILABLE
-
Initializes a new view controller for Reader View with a given document.
This is the designated initializer and the only supported initializer.
Declaration
Objective-C
- (nonnull instancetype)initWithDocument:(nonnull PSPDFDocument *)document;
Swift
init(document: PSPDFDocument)
-
The document the view controller was initialized with.
Declaration
Objective-C
@property (nonatomic, readonly) PSPDFDocument *_Nonnull document;
Swift
var document: PSPDFDocument { get }