Contents

appearanceDictionary

A dictionary that contains properties for controlling the annotation’s visual appearance.

Declaration

static let appearanceDictionary: PDFAnnotationKey

Discussion

PDFKit typically generates this property when saving a PDF document. If present, PDFKit uses the contents of the dictionary to render the annotation. PDFKit clears this value if either of the following occurs:

  • The appearance changes and PDFKit must rerender the annotation, such as if the color changes.

  • Explicit removal of the value occurs to allow use of the annotation’s properties for rendering.

See Also

Configuring Annotation Appearance