Returns the destination associated with the outline.
- iOS 11.0+
- macOS 10.4+
- Mac Catalyst 13.0+
The root outline serves only as a container for the outlines it owns; it does not have a destination. Note that a
PDFOutline object can have either a destination or an action, not both.
This method may return
NULL if the outline has an associated action instead of a destination. Note that if the associated action is a
PDFAction, this method returns the destination from the
PDFAction object. However, it is better to use the
action method for this purpose.