PSPDFAssetAnnotation


@interface PSPDFAssetAnnotation : PSPDFLinkAnnotation

Abstract subclass that contains an asset from a link

  • The name of the embedded asset.

    Declaration

    Objective-C

    @property (readonly, copy, nonatomic, nullable) NSString *assetName;

    Swift

    var assetName: String? { get }
  • Extracts the asset into a file and returns the file URL.

    Declaration

    Objective-C

    - (nullable NSURL *)fileURLWithError:(NSError *_Nullable *_Nullable)error;

    Swift

    func fileURL() throws -> URL