PSPDFBookmarkIndicatorButton
Objective-C
@interface PSPDFBookmarkIndicatorButton : UIButton <PSPDFOverridable>
Swift
class BookmarkIndicatorButton : UIButton, Overridable
Custom UIButton that sets the appropriate bookmark image based on imageType
, and applies a shadow as well.
The image will always have a tint applied to it, based on the normalTintColor
and selectedTintColor
properties
These colors can be customised using regular UIAppearance APIs. To customise the appearance even further, your can use the
custom image loading API to change the images.
See
PSPDFBookmarkIndicatorImageType-
Specifies the image type the button should use. Defaults to
PSPDFBookmarkIndicatorImageTypeMedium
.Declaration
Objective-C
@property (nonatomic) PSPDFBookmarkIndicatorImageType imageType;
Swift
var imageType: BookmarkIndicatorButton.ImageType { get set }