Keys indicating the status of an asset content editing request, used in the completion handler of the request
method.
Framework
- Photos
Keys indicating the status of an asset content editing request, used in the completion handler of the request
method.
Framework
let PHContent Editing Input Result Is In Cloud Key: String
A Boolean value indicating whether the asset data is stored on the local device or must be downloaded from iCloud. (NSNumber
)
let PHContent Editing Input Cancelled Key: String
A Boolean value indicating whether the image request was canceled. (NSNumber
)
let PHContent Editing Input Error Key: String
An error that occurred while attempting to load the asset data. (NSError
)
Make a request to modify and save a photo or video asset.
class PHContent Editing Input
A container that provides information about and access to the image, video, or Live Photo content of an asset to be edited.
class PHContent Editing Output
A container to which you provide the results of editing the photo, video, or Live Photo content of a Photos asset.
class PHAdjustment Data
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.
class PHContent 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.
class PHLive Photo Editing Context
An editing session for modifying the photo, video, and audio content of a Live Photo.
protocol PHLive Photo Frame
A container that provides image content for a single frame of a Live Photo in an editing context.
func can Perform(PHAsset Edit Operation) -> Bool
Returns whether the asset supports the specified editing operation.
enum PHAsset Edit Operation
Values identifying possible actions an asset can support, used by the can
method.
func request 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.
func cancel Content Editing Input Request(PHContent Editing Input Request ID)
Cancels a request for editing the asset’s content.
typealias PHContent Editing Input Request ID
An identifier for an asset content editing session.