PSPDFLinkAnnotationEditingContainerViewController
Objective-C
@interface PSPDFLinkAnnotationEditingContainerViewController
: PSPDFContainerViewController
Swift
class LinkAnnotationEditingContainerViewController : ContainerViewController
Custom container view controller that displays all the supported controllers (one at a time) to create a new or edit an existing link annotation. The controllers can be switched between using a segmented control.
-
Unavailable
Not the designated initializer
Undocumented
Declaration
Objective-C
PSPDF_DEFAULT_VIEWCONTROLLER_INIT_UNAVAILABLE
-
Unavailable
Not the designated initializer
Undocumented
Declaration
Objective-C
PSPDF_DEFAULT_VIEWCONTROLLER_INIT_UNAVAILABLE
-
Unavailable
Not the designated initializer
Undocumented
Declaration
Objective-C
PSPDF_DEFAULT_VIEWCONTROLLER_INIT_UNAVAILABLE
-
Unavailable
Not the designated initializer
Undocumented
Declaration
Objective-C
PSPDF_DEFAULT_VIEWCONTROLLER_INIT_UNAVAILABLE
-
Create a link annotation editing container view controller to create a new link annotation on a specified page on a specified area.
Declaration
Objective-C
- (nonnull instancetype)initWithDocument:(nonnull PSPDFDocument *)document pageIndex:(PSPDFPageIndex)pageIndex selectedRects: (nonnull NSArray<NSValue *> *)selectedRects;
Swift
init(document: PSPDFDocument, pageIndex: PageIndex, selectedRects: [NSValue])
Parameters
document
The document that should contain the new link annotation.
pageIndex
The page index for the page that should contain the new link annotation.
selectedRects
Rects in PDF coordinates space that are passed to the newly created link annotation.
-
Create a link annotation editing container view controller to edit an existing link annotation.
Note
The existing link annotation needs to be associated with a document.
Declaration
Objective-C
- (nonnull instancetype)initWithExistingLinkAnnotation: (nonnull PSPDFLinkAnnotation *)linkAnnotation;
Swift
init(existing linkAnnotation: PSPDFLinkAnnotation)
Parameters
linkAnnotation
The annotation that should be edited.
-
Delegate about changes in the link annotation editing container.
Declaration
Objective-C
@property (nonatomic, weak) id< PSPDFLinkAnnotationEditingContainerViewControllerDelegate> _Nullable linkDelegate;
Swift
weak var linkDelegate: LinkAnnotationEditingContainerViewControllerDelegate? { get set }