PSPDFAnnotationToolbarController

Objective-C


@interface PSPDFAnnotationToolbarController
    : PSPDFFlexibleToolbarController <PSPDFOverridable>

Swift

class AnnotationToolbarController : FlexibleToolbarController, Overridable

Helper for showing/hiding the toolbar on a view controller. Internally manages a PSPDFFlexibleToolbarContainer.

  • Initialize with an annotation toolbar.

    Declaration

    Objective-C

    - (nonnull instancetype)initWithAnnotationToolbar:
        (nonnull PSPDFAnnotationToolbar *)annotationToolbar;

    Swift

    init(annotationToolbar: AnnotationToolbar)
  • Displayed annotation toolbar.

    Declaration

    Objective-C

    @property (nonatomic, readonly)
        PSPDFAnnotationToolbar *_Nonnull annotationToolbar;

    Swift

    var annotationToolbar: AnnotationToolbar { get }
  • Optional. Forwards calls from internal delegate handler.

    Declaration

    Objective-C

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

    Swift

    weak var delegate: FlexibleToolbarContainerDelegate? { get set }