- iOS 8+
- macOS 10.11+
- Mac Catalyst 13.0+Beta
- tvOS 10+
Make a request to modify and save a photo or video asset.
A container that provides information about and access to the image, video, or Live Photo content of an asset to be edited.
A container to which you provide the results of editing the photo, video, or Live Photo content of a Photos asset.
A description of the edits made to an asset's photo, video, or Live Photo content, which allows your app to reconstruct or revert the effects of prior editing sessions.
Editing Input Request Options
A set of options affecting the delivery of image or video data when you request to edit the content of a Photos asset.
Photo Editing Context
An editing session for modifying the photo, video, and audio content of a Live Photo.
A container that provides image content for a single frame of a Live Photo in an editing context.
Perform(PHAsset Edit Operation) -> Bool
Returns whether the asset supports the specified editing operation.
Content Editing Input(with: PHContent Editing Input Request Options?, completion Handler: (PHContent Editing Input?, [Any Hashable : Any]) -> Void) -> PHContent Editing Input Request ID
Requests asset information for beginning a content editing session.
Content Editing Input Request(PHContent Editing Input Request ID)
Cancels a request for editing the asset’s content.
Editing Input Request ID
An identifier for an asset content editing session.
Keys indicating the status of an asset content editing request, used in the completion handler of the
This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.Learn more about using Apple's beta software