PSPDFLinkAnnotationEditingViewController


@interface PSPDFLinkAnnotationEditingViewController : PSPDFBaseViewController

Abstract class for view controllers that support link annotation creation and editing.

  • Unavailable

    Undocumented

    Declaration

    Objective-C

    PSPDF_DEFAULT_VIEWCONTROLLER_INIT_UNAVAILABLE
  • Unavailable

    Undocumented

    Declaration

    Objective-C

    PSPDF_DEFAULT_VIEWCONTROLLER_INIT_UNAVAILABLE
  • Unavailable

    Undocumented

    Declaration

    Objective-C

    PSPDF_DEFAULT_VIEWCONTROLLER_INIT_UNAVAILABLE
  • Unavailable

    Undocumented

    Declaration

    Objective-C

    PSPDF_DEFAULT_VIEWCONTROLLER_INIT_UNAVAILABLE
  • Designated initializer to create a new link annotation editing view controller.

    Declaration

    Objective-C

    - (nonnull instancetype)initWithDocument:(nonnull PSPDFDocument *)document
                              existingAction:(nullable PSPDFAction *)action;

    Swift

    init(document: PSPDFDocument, existing action: PSPDFAction?)

    Parameters

    document

    Document where the new or the edited link annotation should be or is part of.

    action

    If editing an existing link annotation, this should be the existing action of the link.

    Return Value

    A new link annotation editing view controller.

  • Document where the new or the edited link annotation should be or is part of.

    Declaration

    Objective-C

    @property (readonly, nonatomic) PSPDFDocument *_Nonnull document;

    Swift

    var document: PSPDFDocument { get }
  • If editing an existing link annotation, this should be the existing action of the link.

    Declaration

    Objective-C

    @property (readonly, nonatomic, nullable) PSPDFAction *existingAction;

    Swift

    var existingAction: PSPDFAction? { get }
  • The final link action. Usually be called from the presenter once creation or editing has been finished, when the Done button was tapped.

    Declaration

    Objective-C

    @property (readonly, nonatomic, nullable) PSPDFAction *linkAction;

    Swift

    var linkAction: PSPDFAction? { get }
  • Delegate to be notified of potential changes.

    Declaration

    Objective-C

    @property (readwrite, nonatomic)
        id<PSPDFLinkAnnotationEditingViewControllerDelegate> _Nullable delegate;

    Swift

    weak var delegate: PSPDFLinkAnnotationEditingViewControllerDelegate? { get set }
  • The link type the created/edited link should have.

    Declaration

    Objective-C

    @property (readonly, nonatomic) PSPDFLinkAnnotationType linkType;

    Swift

    var linkType: PSPDFLinkAnnotationType { get }