PSPDFAppearanceStreamGenerating

Objective-C

@protocol PSPDFAppearanceStreamGenerating <NSObject>

Swift

protocol AppearanceStreamGenerating : NSObjectProtocol

A instance of this protocol can be set on any PSPDFAnnotation and instead of using the PSPDFKit provided appearance stream generation methods, any PDF can be returned.

The annotation will use the first page of the returned PDF as its appearance and this content will be embedded into the PDF.