Class

PHAssetResourceCreationOptions

A set of options affecting the creation of a new Photos asset from underlying resources.

Declaration

@interface PHAssetResourceCreationOptions : NSObject

Overview

You use this class when creating an asset for addition to the Photos library with a PHAssetCreationRequest object.

Topics

Describing a New Asset Resource

originalFilename

The filename for the asset resource being created.

uniformTypeIdentifier

The uniform type identifier for the resource.

Managing Resource Files

shouldMoveFile

A Boolean value that determines whether Photos moves or duplicates files when creating an asset resource.

Relationships

Inherits From

Conforms To

See Also

Asset Resource Management

PHAssetResource

An underlying data resource associated with a photo, video, or Live Photo asset in the Photos library.

PHAssetCreationRequest

A request to create a new Photos asset from underlying data resources, for use in a photo library change block.

PHAssetResourceManager

A resource manager for the data storage underlying a Photos asset.

PHAssetResourceRequestOptions

A set of options affecting the delivery of underlying asset data that you request from the asset resource manager.