Instance Method

cancel

Aborts any Live Photo processing in progress.

Declaration

- (void)cancel;

Discussion

This method applies only after you’ve begun processing a Live Photo for display or output with the initWithLivePhotoEditingInput: or saveLivePhotoToOutput:options:completionHandler: method. After you call this method, Photos calls your completion handler and provides an error with the PHLivePhotoEditingErrorCodeAborted error code.

See Also

Processing an Editing Context’s Live Photo

- saveLivePhotoToOutput:options:completionHandler:

Processes and saves a full-quality Live Photo as the output of your editing session.

- prepareLivePhotoForPlaybackWithTargetSize:options:completionHandler:

Processes a Live Photo with your edits for viewing.

PHLivePhotoEditingOption

Keys for the options dictionary used with the methods listed in Processing an Editing Context’s Live Photo.