UI Controls
-
The
See morePTAddPagesViewController
displays a list of options for adding blank pages or inserting images as pages to a document.Declaration
Objective-C
@interface PTAddPagesViewController : UITableViewController <PTOverridable>
Swift
class PTAddPagesViewController : UITableViewController, PTOverridable
-
The
See morePTAnnotationToolbar
is a toolbar with buttons that allows the user to switch between tools. See the Complete Reader sample project for example usage.Declaration
Objective-C
@interface PTAnnotationToolbar : UIToolbar <PTOverridable, PTFreeHandCreateDelegate, PTEditToolbarDelegate, PTDigitalSignatureToolDelegate>
Swift
class PTAnnotationToolbar : UIToolbar, PTOverridable, PTFreeHandCreateDelegate, PTEditToolbarDelegate, PTDigitalSignatureToolDelegate
-
The
See morePTAnnotationViewController
displays a list of all annotations in a document. The list will contain any comments that have been added to the annotations, and selecting an annotation will scroll thePTPDFViewCtrl
to the position of the annotation.Declaration
Objective-C
@interface PTAnnotationViewController : UITableViewController <PTOverridable>
Swift
class PTAnnotationViewController : UITableViewController, PTOverridable
-
The AnnotStyleViewController displays a list of controls for adjusting the appearance and properties of an annotation or annotation type. The available controls are determined based on the type of annotation provided.
See moreDeclaration
Objective-C
@interface PTAnnotStyleViewController : UIViewController <PTOverridable, PTAnnotStyleDelegate>
Swift
class PTAnnotStyleViewController : UIViewController, PTOverridable, PTAnnotStyleDelegate
-
The PTBookmarkViewController displays a list of user-created bookmarks in a document being viewed by a PTPDFViewCtrl.
See moreDeclaration
Objective-C
@interface PTBookmarkViewController : UITableViewController <PTOverridable>
Swift
class PTBookmarkViewController : UITableViewController, PTOverridable
-
The PTColorPickerViewController displays a grid of color cells for selection. Selecting a color cell notifies the delegate object.
See moreDeclaration
Objective-C
@interface PTColorPickerViewController : UIPageViewController <PTOverridable, UIPageViewControllerDataSource>
Swift
class PTColorPickerViewController : UIPageViewController, PTOverridable, UIPageViewControllerDataSource
-
The PTFindTextToolbar class displays a
UISearchBar
that allows the user to enter and search text within a document.Floating buttons that allow navigating to the next or previous search result are positioned over the
See morepdfViewCtrl
while the user is searching.Declaration
Objective-C
@interface PTFindTextToolbar : UIToolbar <UISearchBarDelegate>
-
The PTOutlineViewController will display a document’s outline (PDF bookmarks) that can be used to navigate the document in a
See morePTPDFViewCtrl
. When a bookmark is selected, the controller will navigate thePTPDFViewCtrl
to that page.Declaration
Objective-C
@interface PTOutlineViewController : UITableViewController <PTOverridable>
Swift
class PTOutlineViewController : UITableViewController, PTOverridable
-
A container view controller similar to a
UITabBarController
that displays a segmented control where the selection determines which child view controller to display.By default, the navigation lists controller contains an
See morePTOutlineViewController
,PTAnnotationViewController
,PTBookmarkViewController
, and if the document contains OCG layers, aPTPDFLayerViewController
.Declaration
Objective-C
@interface PTNavigationListsViewController : UIViewController <PTOverridable>
Swift
class PTNavigationListsViewController : UIViewController, PTOverridable
-
The
See morePTPageIndicatorViewController
displays the current page number in a document.Declaration
Objective-C
@interface PTPageIndicatorViewController : UIViewController <PTOverridable>
Swift
class PTPageIndicatorViewController : UIViewController, PTOverridable
-
Displays reflowed page content from a PDF document.
See moreDeclaration
Objective-C
@interface PTReflowViewController : UIViewController <PTOverridable, UIPageViewControllerDelegate, UIPageViewControllerDataSource, PTReflowSettingsViewControllerDelegate>
Swift
class PTReflowViewController : UIViewController, PTOverridable, UIPageViewControllerDelegate, UIPageViewControllerDataSource, PTReflowSettingsViewControllerDelegate
-
Undocumented
See moreDeclaration
Objective-C
@interface PTRubberStampViewController : UIViewController <PTOverridable, UICollectionViewDataSource, UICollectionViewDelegateFlowLayout> /** * The collection view object managed by this view controller. */ @property (nonatomic, readonly, strong) UICollectionView *collectionView; /** * Whether editing of thumbnails is allowed. The default is `YES`. */ @property (nonatomic, assign, getter=isEditingEnabled) BOOL editingEnabled; /** * Whether editing of thumbnails is supported. Some modes of opperation do not support editing * and so the edit button will be disabled even if `editingEnabled` is true. */ @property (nonatomic, assign, readonly, getter=isEditingSupported) BOOL editingSupported; /** * The rubber stamp manager used by the `PTRubberStampViewController` */ @property (nonatomic, readonly, strong) PTRubberStampManager* rubberStampManager; /** * The PTRubberStampViewController object's delegate. */ @property (nonatomic, weak) id<PTRubberStampViewControllerDelegate> delegate; @end
Swift
class PTRubberStampViewController : UIViewController, PTOverridable, UICollectionViewDataSource, UICollectionViewDelegateFlowLayout
-
Presents a list of saved signatures, and buttons to create new ones.
See moreDeclaration
Objective-C
@interface PTSavedSignaturesViewController : UITableViewController <PTOverridable>
Swift
class PTSavedSignaturesViewController : UITableViewController, PTOverridable
-
The
See morePTSettingsViewController
class displays settings to control aPTPDFViewCtrl
.Declaration
Objective-C
@interface PTSettingsViewController : UITableViewController <PTOverridable>
Swift
class PTSettingsViewController : UITableViewController, PTOverridable
-
The PTTextSearchViewController class displays a
UISearchBar
that allows the user to enter and search text within a document.A
See moreUIToolbar
is also shown with buttons allowing the user to navigate forwards and backwards through the results as well as configure search options. The view controller also provides an interface to display the search results in aUITableView
.Declaration
Objective-C
@interface PTTextSearchViewController : UIViewController <PTOverridable>
Swift
class PTTextSearchViewController : UIViewController, PTOverridable
-
The
See morePTThumbnailSliderViewController
uses PDFViewCtrl’s GetThumbAsync API to show thumbnails of the current page as the slider is moved.Declaration
Objective-C
@interface PTThumbnailSliderViewController : UIViewController <PTOverridable>
Swift
class PTThumbnailSliderViewController : UIViewController, PTOverridable
-
Displays a grid of thumbnails that can be used for navigation, plus re-arranging and deleting pages.
See moreDeclaration
Objective-C
@interface PTThumbnailsViewController : UIViewController <PTOverridable, UICollectionViewDataSource, UICollectionViewDelegateFlowLayout, UIPopoverPresentationControllerDelegate>
Swift
class PTThumbnailsViewController : UIViewController, PTOverridable, UICollectionViewDataSource, UICollectionViewDelegateFlowLayout, UIPopoverPresentationControllerDelegate
-
A class that reads and writes settings stored by a
See morePTToolsSettingsManager
singleton object.Declaration
Objective-C
@interface PTToolsSettingsViewController : UITableViewController <PTOverridable>
Swift
class PTToolsSettingsViewController : UITableViewController, PTOverridable