PTPageIndicatorViewController
@interface PTPageIndicatorViewController : UIViewController <PTOverridable>
The PTPageIndicatorViewController displays the current page number in a document.
-
Initializes a new
PTPageIndicatorViewControllerinstance.Declaration
Objective-C
- (nonnull instancetype)initWithPDFViewCtrl: (nonnull PTPDFViewCtrl *)pdfViewCtrl;Swift
init(pdfViewCtrl: PTPDFViewCtrl)Parameters
pdfViewCtrlthe
PTPDFViewCtrlinstance that the control will coordinate with -
Initializes a new
PTPageIndicatorViewControllerinstance.Declaration
Objective-C
- (nonnull instancetype)initWithToolManager: (nonnull PTToolManager *)toolManager;Swift
convenience init(toolManager: PTToolManager)Parameters
toolManagerthe
PTToolManagerinstance that the control will coordinate with -
The
PTPDFViewCtrlinstance that this control coordinates with to receive page-change events and page-related information.Declaration
Objective-C
@property (nonatomic, strong, readonly, nullable) PTPDFViewCtrl *pdfViewCtrl;Swift
var pdfViewCtrl: PTPDFViewCtrl? { get } -
The
PTToolManagerinstance that this control coordinates with to receive page-related events.Declaration
Objective-C
@property (nonatomic, strong, readonly, nullable) PTToolManager *toolManager;Swift
var toolManager: PTToolManager? { get } -
The view that provides the background appearance. The default background view blurs the content behind the page indicator. Setting a value of
nilresets this property to the default background view.Declaration
Objective-C
@property (nonatomic, strong, null_resettable) UIView *backgroundView;Swift
var backgroundView: UIView! { get set } -
The text label showing the page number.
Declaration
Objective-C
@property (nonatomic, strong, readonly) UILabel *_Nonnull label;Swift
var label: UILabel { get } -
Presents a UIAlertController to allow the user to jump to a page.
Declaration
Objective-C
- (void)presentGoToPageController;Swift
func presentGoToPageController() -
Undocumented
Declaration
Objective-C
- (instancetype)initWithNibName:(nullable NSString *)nibNameOrNil bundle:(nullable NSBundle *)nibBundleOrNil NS_UNAVAILABLE; -
Undocumented
Declaration
Objective-C
- (instancetype)initWithCoder:(NSCoder *)aDecoder NS_UNAVAILABLE; -
Undocumented
Declaration
Objective-C
- (instancetype)init NS_UNAVAILABLE;
PTPageIndicatorViewController Class Reference