PTAnnotationAppearanceView


@interface PTAnnotationAppearanceView : UIView

A view that displays the appearance of a PDF annotation.

  • Initializes a newly created PTAnnotationAppearanceView instance.

    Declaration

    Objective-C

    - (nonnull instancetype)initWithFrame:(CGRect)frame;

    Swift

    init(frame: CGRect)

    Parameters

    frame

    The frame of the view.

    Return Value

    An initialized PTAnnotationAppearanceView instance.

  • Initializes a PTAnnotationAppearanceView instance with a decoder.

    Declaration

    Objective-C

    - (nullable instancetype)initWithCoder:(nonnull NSCoder *)coder;

    Swift

    init?(coder: NSCoder)

    Parameters

    coder

    The decoder.

    Return Value

    An initialized PTAnnotationAppearanceView instance, or nil if decoding failed.