@protocol PSPDFDocumentDelegate <NSObject>
protocol PDFDocumentDelegate : NSObjectProtocol
Delegate to receive events regarding
This delegate offers callbacks for custom actions after save events.
PDF files can contain actions to other PDF files (
PSPDFRemoteGoToAction). Usually, these are attached to link annotations, but actions can also be connected to outline or forms.
PSPDFKit automatically tries to find the linked files based on the relative path. There are also built-in tokens such as
PSBundlethat help to navigate inside the typical iOS/macOS application folder structure.
This delegate allows custom tokens to be resolved, such as /MyAppToken. This delegate will only get called for unknown tokens, not any built-in ones.
Return nil if the token cannot be resolved.