writeVideoAtPath(toSavedPhotosAlbum:completionBlock:)
Saves a video identified by a given URL to the Saved Photos album.
Declaration
func writeVideoAtPath(toSavedPhotosAlbum videoPathURL: URL!, completionBlock: (@Sendable (URL?, (any Error)?) -> Void)!)func writeVideoAtPath(toSavedPhotosAlbum videoPathURL: URL!) async throws -> URL?Parameters
- videoPathURL:
An URL that points to a video file.
- completionBlock:
The block invoked after the save operation completes.
For a description of the block, see Alassetslibrarywritevideocompletionblock.