Instance Method

writeVideoAtPath(toSavedPhotosAlbum:completionBlock:)

Saves a video identified by a given URL to the Saved Photos album.

Declaration

func writeVideoAtPath(toSavedPhotosAlbum videoPathURL: URL!, completionBlock: ALAssetsLibraryWriteVideoCompletionBlock!)

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.

Discussion

See Also

Saving Assets

func videoAtPathIs(compatibleWithSavedPhotosAlbum: URL!) -> Bool

Returns a Boolean value that indicates whether a video identified by a given URL is compatible with the Saved Photos album.

Deprecated