<!--
{
  "availability" : [
    "iOS: 8.0.0 -",
    "iPadOS: 8.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.15.0 -",
    "tvOS: 10.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "PhotoKit",
  "identifier" : "/documentation/Photos/PHContentEditingInputCancelledKey",
  "metadataVersion" : "0.1.0",
  "role" : "Global Variable",
  "symbol" : {
    "kind" : "Global Variable",
    "modules" : [
      "Photos"
    ],
    "preciseIdentifier" : "c:@PHContentEditingInputCancelledKey"
  },
  "title" : "PHContentEditingInputCancelledKey"
}
-->

# PHContentEditingInputCancelledKey

A Boolean value indicating whether the image request was canceled. (`NSNumber`)

```
let PHContentEditingInputCancelledKey: String
```

## Discussion

If you call the [`cancelContentEditingInputRequest(_:)`](/documentation/Photos/PHAsset/cancelContentEditingInputRequest(_:)) method to cancel a request, Photos calls your result handler block with the value `true` for this key.

---

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)