PSPDFPageLabelView
Objective-C
@interface PSPDFPageLabelView : PSPDFLabelView <PSPDFOverridable>
Swift
class PageLabelView : PDFLabelView, Overridable
Displays the current page position at the bottom of the screen.
Note
This class connects to the pdfController via KVO.-
Action delegate.
Declaration
Objective-C
@property (nonatomic, weak) id<PSPDFPageLabelViewDelegate> _Nullable delegate;
Swift
weak var delegate: PageLabelViewDelegate? { get set }
-
Show button to show the thumbnail grid on the right side of the label. Defaults to NO.
Declaration
Objective-C
@property (nonatomic) BOOL showThumbnailGridButton;
Swift
var showThumbnailGridButton: Bool { get set }
-
The thumbnail grid button, if
showThumbnailGridButton
is enabled. Manually wire up to a target/selector.Declaration
Objective-C
@property (nonatomic) UIButton *_Nonnull thumbnailGridButton;
Swift
var thumbnailGridButton: UIButton { get set }
-
Equal to
thumbnailButton.tintColor
, but can also be used withUIAppearance
. Defaults to black.Declaration
Objective-C
@property (nonatomic) UI_APPEARANCE_SELECTOR UIColor *thumbnailButtonColor;
Swift
var thumbnailButtonColor: UIColor { get set }
-
The custom label formatter. If reset to
nil
, the default formatter is used.Declaration
Objective-C
@property (nonatomic, copy, null_resettable) PSPDFPageLabelFormatter *labelFormatter;
Swift
@NSCopying var labelFormatter: PSPDFPageLabelFormatter! { get set }