PSPDFLinkAnnotationBaseView
Objective-C
@interface PSPDFLinkAnnotationBaseView : UIView <PSPDFAnnotationPresenting>
Swift
class LinkAnnotationBaseView : UIView, AnnotationPresenting
Base class for all link-annotation subclasses.
-
Saves the attached link annotation.
Declaration
Objective-C
@property (nonatomic, readonly) PSPDFLinkAnnotation *_Nonnull linkAnnotation;
Swift
var linkAnnotation: PSPDFLinkAnnotation { get }
-
Defaults to a zIndex of 1.
Declaration
Objective-C
@property (nonatomic) NSUInteger zIndex;
Swift
var zIndex: UInt { get set }
-
Internal content view. Subclasses should add content to that view.
Declaration
Objective-C
@property (nonatomic, readonly) UIView *_Nonnull contentView;
Swift
var contentView: UIView { get }
-
Associated weak reference to then
PDFPageView
.Declaration
Objective-C
@property (nonatomic, weak) PSPDFPageView *_Nullable pageView;
Swift
weak var pageView: PSPDFPageView? { get set }
-
Called when the annotation changes.
-
Called each time the annotation changes or if the content view is about to be displayed.
-
Will show/hide the content view.
Declaration
Objective-C
- (void)setContentViewVisible:(BOOL)visible animated:(BOOL)animated;
Swift
func setContentViewVisible(_ visible: Bool, animated: Bool)
-
Undocumented
Declaration
Objective-C
@property (nonatomic, getter=isContentViewVisible, readonly) BOOL contentViewVisible
Swift
var isContentViewVisible: Bool { get }