<!--
{
  "availability" : [
    "iOS: 3.1.0 -",
    "iPadOS: 3.1.0 -",
    "macCatalyst: 13.1.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UIVideoAtPathIsCompatibleWithSavedPhotosAlbum(_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Function",
  "symbol" : {
    "kind" : "Function",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:@F@UIVideoAtPathIsCompatibleWithSavedPhotosAlbum"
  },
  "title" : "UIVideoAtPathIsCompatibleWithSavedPhotosAlbum(_:)"
}
-->

# UIVideoAtPathIsCompatibleWithSavedPhotosAlbum(_:)

Returns a Boolean value that indicates whether the specified video is compatible to save to the user’s Camera Roll album.

```
func UIVideoAtPathIsCompatibleWithSavedPhotosAlbum(_ videoPath: String) -> Bool
```

## Parameters

`videoPath`

The filesystem path to the movie file you want to save.

## Return Value

<doc://com.apple.documentation/documentation/Swift/true> if the video can be saved to the Camera Roll album or <doc://com.apple.documentation/documentation/Swift/false> if it cannot.

## Discussion

Not all devices are able to play video files placed in the user’s Camera Roll album. Before attempting to save a video, call this function and check its return value to ensure that saving the video is supported for the current device. For a code example, refer to [Camera Programming Topics for iOS](https://developer.apple.com/library/archive/documentation/AudioVideo/Conceptual/CameraAndPhotoLib_TopicsForIOS/Introduction/Introduction.html#//apple_ref/doc/uid/TP40010400).

When used on an iOS device without a camera, this method indicates whether the specified movie can be saved to the Saved Photos album rather than to the Camera Roll album.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)