PSPDFLinkAnnotationEditingViewControllerDelegate

Objective-C

@protocol PSPDFLinkAnnotationEditingViewControllerDelegate <NSObject>

Swift

protocol LinkAnnotationEditingViewControllerDelegate : NSObjectProtocol

Protocol for delegate actions of the link annotation editing view controller.

  • Can be used to control if the done button of the presenter should be enabled or disabled.

    Declaration

    Objective-C

    - (void)linkAnnotationEditingViewController:
                (nonnull PSPDFLinkAnnotationEditingViewController *)
                    linkAnnotationEditingViewController
                         shouldEnableDoneButton:(BOOL)doneButtonEnabled;

    Swift

    func linkAnnotationEditingViewController(_ linkAnnotationEditingViewController: LinkAnnotationEditingViewController, shouldEnableDoneButton doneButtonEnabled: Bool)