<!--
{
  "availability" : [
    "iOS: 3.1.0 -",
    "iPadOS: 3.1.0 -",
    "macCatalyst: 13.1.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UIVideoEditorController/canEditVideo(atPath:)",
  "metadataVersion" : "0.1.0",
  "role" : "Type Method",
  "symbol" : {
    "kind" : "Type Method",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:objc(cs)UIVideoEditorController(cm)canEditVideoAtPath:"
  },
  "title" : "canEditVideo(atPath:)"
}
-->

# canEditVideo(atPath:)

Returns a Boolean value indicating whether a video file can be edited.

```
class func canEditVideo(atPath videoPath: String) -> Bool
```

## Parameters

`videoPath`

The filesystem path to the video file you want to edit.

## Return Value

<doc://com.apple.documentation/documentation/Swift/true> if the specified video file can be edited on the current device or <doc://com.apple.documentation/documentation/Swift/false> if it cannot.

## Discussion

Video editing requires the presence of specific hardware and is available only for specific file formats. Use this method to check whether video editing is available for a given video file, before you create a video editor.

---

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)