Contents

writeModifiedVideoAtPath(toSavedPhotosAlbum:completionBlock:)

Saves the video at a specified path to the Saved Photos album.

Declaration

func writeModifiedVideoAtPath(toSavedPhotosAlbum videoPathURL: URL!, completionBlock: (@Sendable (URL?, (any Error)?) -> Void)!)
func writeModifiedVideoAtPath(toSavedPhotosAlbum videoPathURL: URL!) async throws -> URL?

Parameters

  • videoPathURL:

    An URL that specifies the location of video data.

  • completionBlock:

    The block invoked after the save operation completes.

Discussion

This method saves the video at videoPathURL to the Saved Photos album as a new asset that is considered a modified version of the receiver.

See Also

Saving to the Saved Photos Album