<!--
{
  "documentType" : "article",
  "framework" : "PDFKit",
  "identifier" : "/documentation/PDFKit/deprecated-symbols",
  "metadataVersion" : "0.1.0",
  "role" : "collectionGroup",
  "title" : "Deprecated Symbols"
}
-->

# Deprecated Symbols

Review unsupported symbols and their replacements.

## Topics

### Deprecated Annotation Types

[`class PDFAnnotationButtonWidget`](/documentation/PDFKit/PDFAnnotationButtonWidget)

A `PDFAnnotationButtonWidget` object provides user interactivity on a page of a PDF document. There are three types of buttons available: push button, radio button, and checkbox.

[`class PDFAnnotationChoiceWidget`](/documentation/PDFKit/PDFAnnotationChoiceWidget)

A `PDFAnnotationChoiceWidget` object provides user interactivity on a page of a PDF document, in the form of pop-up menus and lists.

[`class PDFAnnotationCircle`](/documentation/PDFKit/PDFAnnotationCircle)

[`class PDFAnnotationFreeText`](/documentation/PDFKit/PDFAnnotationFreeText)

A `PDFAnnotationFreeText` object displays text on a page.

[`class PDFAnnotationInk`](/documentation/PDFKit/PDFAnnotationInk)

[`class PDFAnnotationLine`](/documentation/PDFKit/PDFAnnotationLine)

A `PDFAnnotationLine` object displays a single line on a page.

[`class PDFAnnotationLink`](/documentation/PDFKit/PDFAnnotationLink)

[`class PDFAnnotationMarkup`](/documentation/PDFKit/PDFAnnotationMarkup)

A `PDFAnnotationMarkup` object appears as highlighting, underlining, or a strikethrough style applied to the text of a document.

[`class PDFAnnotationPopup`](/documentation/PDFKit/PDFAnnotationPopup)

A `PDFAnnotationPopup` object provides user interactivity on a PDF page in the form of a pop-up menu.

[`class PDFAnnotationSquare`](/documentation/PDFKit/PDFAnnotationSquare)

A rectangle annotation on a page.

[`class PDFAnnotationStamp`](/documentation/PDFKit/PDFAnnotationStamp)

A `PDFAnnotationStamp` object allows you to display a word or phrase, such as “Confidential,” in a PDF page.

[`class PDFAnnotationText`](/documentation/PDFKit/PDFAnnotationText)

A `PDFAnnotationText` object displays as an icon (such as a “sticky note”) attached to a specified point in the PDF document.

[`class PDFAnnotationTextWidget`](/documentation/PDFKit/PDFAnnotationTextWidget)

A `PDFAnnotationTextWidget` object allows you to manage the appearance and content of text fields.

### Deprecated Methods

[`convenience init(bounds: NSRect)`](/documentation/PDFKit/PDFAnnotation/init(bounds:))

Creates a PDF annotation object.

[`convenience init(dictionary: [AnyHashable : Any], forPage: PDFPage?)`](/documentation/PDFKit/PDFAnnotation/init(dictionary:forPage:))

[`func removeAllAppearanceStreams()`](/documentation/PDFKit/PDFAnnotation/removeAllAppearanceStreams())

[`func draw(with: PDFDisplayBox)`](/documentation/PDFKit/PDFAnnotation/draw(with:))

Draws the annotation on its associated page.

### Deprecated Properties

[`var mouseUpAction: PDFAction?`](/documentation/PDFKit/PDFAnnotation/mouseUpAction)

The action to perform when a user releases the mouse button within an annotation.

[`var toolTip: String?`](/documentation/PDFKit/PDFAnnotation/toolTip)

Returns text for display as a help tag.

### Deprecated Annotation Keys

[`extern PDFAnnotationKey kPDFAnnotationKey_Action;`](/documentation/PDFKit/kPDFAnnotationKey_Action)

[`extern PDFAnnotationKey kPDFAnnotationKey_AdditionalActions;`](/documentation/PDFKit/kPDFAnnotationKey_AdditionalActions)

[`extern PDFAnnotationKey kPDFAnnotationKey_AppearanceDictionary;`](/documentation/PDFKit/kPDFAnnotationKey_AppearanceDictionary)

[`extern PDFAnnotationKey kPDFAnnotationKey_AppearanceState;`](/documentation/PDFKit/kPDFAnnotationKey_AppearanceState)

[`extern PDFAnnotationKey kPDFAnnotationKey_Border;`](/documentation/PDFKit/kPDFAnnotationKey_Border)

[`extern PDFAnnotationKey kPDFAnnotationKey_BorderStyle;`](/documentation/PDFKit/kPDFAnnotationKey_BorderStyle)

[`extern PDFAnnotationKey kPDFAnnotationKey_Color;`](/documentation/PDFKit/kPDFAnnotationKey_Color)

[`extern PDFAnnotationKey kPDFAnnotationKey_Contents;`](/documentation/PDFKit/kPDFAnnotationKey_Contents)

[`extern PDFAnnotationKey kPDFAnnotationKey_Date;`](/documentation/PDFKit/kPDFAnnotationKey_Date)

[`extern PDFAnnotationKey kPDFAnnotationKey_DefaultAppearance;`](/documentation/PDFKit/kPDFAnnotationKey_DefaultAppearance)

[`extern PDFAnnotationKey kPDFAnnotationKey_Destination;`](/documentation/PDFKit/kPDFAnnotationKey_Destination)

[`extern PDFAnnotationKey kPDFAnnotationKey_Flags;`](/documentation/PDFKit/kPDFAnnotationKey_Flags)

[`extern PDFAnnotationKey kPDFAnnotationKey_HighlightingMode;`](/documentation/PDFKit/kPDFAnnotationKey_HighlightingMode)

[`extern PDFAnnotationKey kPDFAnnotationKey_IconName;`](/documentation/PDFKit/kPDFAnnotationKey_IconName)

[`extern PDFAnnotationKey kPDFAnnotationKey_Inklist;`](/documentation/PDFKit/kPDFAnnotationKey_Inklist)

[`extern PDFAnnotationKey kPDFAnnotationKey_InteriorColor;`](/documentation/PDFKit/kPDFAnnotationKey_InteriorColor)

[`extern PDFAnnotationKey kPDFAnnotationKey_LineEndingStyles;`](/documentation/PDFKit/kPDFAnnotationKey_LineEndingStyles)

[`extern PDFAnnotationKey kPDFAnnotationKey_LinePoints;`](/documentation/PDFKit/kPDFAnnotationKey_LinePoints)

[`extern PDFAnnotationKey kPDFAnnotationKey_Name;`](/documentation/PDFKit/kPDFAnnotationKey_Name)

[`extern PDFAnnotationKey kPDFAnnotationKey_Open;`](/documentation/PDFKit/kPDFAnnotationKey_Open)

[`extern PDFAnnotationKey kPDFAnnotationKey_Page;`](/documentation/PDFKit/kPDFAnnotationKey_Page)

[`extern PDFAnnotationKey kPDFAnnotationKey_Parent;`](/documentation/PDFKit/kPDFAnnotationKey_Parent)

[`extern PDFAnnotationKey kPDFAnnotationKey_Popup;`](/documentation/PDFKit/kPDFAnnotationKey_Popup)

[`extern PDFAnnotationKey kPDFAnnotationKey_QuadPoints;`](/documentation/PDFKit/kPDFAnnotationKey_QuadPoints)

[`extern PDFAnnotationKey kPDFAnnotationKey_Quadding;`](/documentation/PDFKit/kPDFAnnotationKey_Quadding)

[`extern PDFAnnotationKey kPDFAnnotationKey_Rect;`](/documentation/PDFKit/kPDFAnnotationKey_Rect)

[`extern PDFAnnotationKey kPDFAnnotationKey_Subtype;`](/documentation/PDFKit/kPDFAnnotationKey_Subtype)

[`extern PDFAnnotationKey kPDFAnnotationKey_TextLabel;`](/documentation/PDFKit/kPDFAnnotationKey_TextLabel)

[`extern PDFAnnotationKey kPDFAnnotationKey_WidgetAppearanceDictionary;`](/documentation/PDFKit/kPDFAnnotationKey_WidgetAppearanceDictionary)

[`extern PDFAnnotationKey kPDFAnnotationKey_WidgetDefaultValue;`](/documentation/PDFKit/kPDFAnnotationKey_WidgetDefaultValue)

[`extern PDFAnnotationKey kPDFAnnotationKey_WidgetFieldFlags;`](/documentation/PDFKit/kPDFAnnotationKey_WidgetFieldFlags)

[`extern PDFAnnotationKey kPDFAnnotationKey_WidgetFieldType;`](/documentation/PDFKit/kPDFAnnotationKey_WidgetFieldType)

[`extern PDFAnnotationKey kPDFAnnotationKey_WidgetMaxLen;`](/documentation/PDFKit/kPDFAnnotationKey_WidgetMaxLen)

[`extern PDFAnnotationKey kPDFAnnotationKey_WidgetOptions;`](/documentation/PDFKit/kPDFAnnotationKey_WidgetOptions)

[`extern PDFAnnotationKey kPDFAnnotationKey_WidgetTextLabelUI;`](/documentation/PDFKit/kPDFAnnotationKey_WidgetTextLabelUI)

[`extern PDFAnnotationKey kPDFAnnotationKey_WidgetValue;`](/documentation/PDFKit/kPDFAnnotationKey_WidgetValue)



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)