<!--
{
  "availability" : [
    "iOS: 3.1.0 -",
    "iPadOS: 3.1.0 -",
    "macCatalyst: 13.1.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UIVideoEditorControllerDelegate/videoEditorControllerDidCancel(_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:objc(pl)UIVideoEditorControllerDelegate(im)videoEditorControllerDidCancel:"
  },
  "title" : "videoEditorControllerDidCancel(_:)"
}
-->

# videoEditorControllerDidCancel(_:)

Notifies the delegate when the user cancels a movie editing operation.

```
optional func videoEditorControllerDidCancel(_ editor: UIVideoEditorController)
```

## Parameters

`editor`

The video editor that the user canceled, not wanting to save changes.

---

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)