Class
PHAssetResourceCreationOptions
A set of options affecting the creation of a new Photos asset from underlying resources.
SDKs
- iOS 9+
- macOS 10.15+
- Mac Catalyst 13.0+
- tvOS 10+
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
Managing Resource Files
shouldMoveFile
A Boolean value that determines whether Photos moves or duplicates files when creating an asset resource.
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.