Version 11
Version 10
Version 9
Version 8
Version 7
Version 6
Version 1
The easiest way to display a PDF is using a PTDocumentController
. The PTPDFViewCtrl
is a low-level control that may be used when a higher level of customization is required.
The PTPDFViewCtrl
is a UIView
that displays a PDF.
If your app is displaying a PDF, a PTPDFViewCtrl
will be used in one of two ways:
PTDocumentController
or PTTabbedDocumentViewController
. (It is accessible via the pdfViewCtrl
property.)Resources
Add
> Add Files
sample.pdf
) and confirm addBuild Action
of the file is set to BundleResource
PDFDoc
:PDFViewCtrl
and add it as a child to the current view:Running the app will now display the PDF sample.pdf
. However, it will not support annotation creation, editing, text selection, or any other UI aspect that is handled by Tools package . To add support for annotations and text selection you need to incorporate the tools package .Did you find this helpful?
Trial setup questions?
Ask experts on DiscordNeed other help?
Contact SupportPricing or product questions?
Contact Sales