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
class 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
var shouldMoveFile: Bool
A Boolean value that determines whether Photos moves or duplicates files when creating an asset resource.
See Also
Asset Resource Management
class PHAssetResource
An underlying data resource associated with a photo, video, or Live Photo asset in the Photos library.