Contents

videoAtPathIs(compatibleWithSavedPhotosAlbum:)

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

Declaration

func videoAtPathIs(compatibleWithSavedPhotosAlbum videoPathURL: URL!) -> Bool

Parameters

  • videoPathURL:

    An URL that points to a video file.

Return Value

true if the video identified by videoPathURL is compatible with the Saved Photos album, otherwise false.

Discussion

This method returns the same value as UIVideoAtPathIsCompatibleWithSavedPhotosAlbum(_:) would for the same URL.

See Also

Saving Assets