Metadata

  • This class allows you to modify a PDF documents metadata. Metadata is defined in two ways in the PDF spec (§ 14.3):

    Info dictionary support

    All values specified in the Info dictionary are represented by the following types:

    • NSString
    • NSNumber
    • NSDate
    • NSArray<id>: can include any of the types mentioned.
    • NSDictionary<NSString*, id>: value can be any of the types mentioned.

    These types can be combined in any way you see fit and it will be converted into the proper PDF types.

    Note

    The PDF stream type is not yet supported.
    See more

    Declaration

    Objective-C

    
    @interface PSPDFDocumentPDFMetadata : NSObject

    Swift

    class PSPDFDocumentPDFMetadata : NSObject