Returns the action performed when users click the outline.
- iOS 11.0+
- macOS 10.5+
- Mac Catalyst 13.0+
The root outline serves only as a container for the outlines it owns; it does not have an action. Note that a
PDFOutline object can have either an action or a destination, not both.
PDFOutline object has a destination, instead of an action,
action returns a
PDFAction object (this is equivalent to calling
destination on the
PDFOutline object). For other action types,
action returns the appropriate PDF Kit action type object, such as