<!--
{
  "availability" : [
    "macCatalyst: 13.1.0 -",
    "macOS: 10.2.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreGraphics",
  "identifier" : "/documentation/CoreGraphics/CGReleaseDisplayFadeReservation(_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Function",
  "symbol" : {
    "kind" : "Function",
    "modules" : [
      "Core Graphics"
    ],
    "preciseIdentifier" : "c:@F@CGReleaseDisplayFadeReservation"
  },
  "title" : "CGReleaseDisplayFadeReservation(_:)"
}
-->

# CGReleaseDisplayFadeReservation(_:)

Releases a display fade reservation, and unfades the display if needed.

```
func CGReleaseDisplayFadeReservation(_ token: CGDisplayFadeReservationToken) -> CGError
```

## Parameters

`token`

The current fade reservation token to be released. On return, the reservation token is no longer valid and should be discarded.

## Return Value

A result code. See `Core Graphics Data Types and Constants`.

## Discussion

If you call this function while an asynchronous fade operation is running, there are two possible outcomes:

- If the ending blend value is [`kCGDisplayBlendNormal`](/documentation/CoreGraphics/kCGDisplayBlendNormal), the fade operation is allowed to run to completion.
- If the ending blend value is not [`kCGDisplayBlendNormal`](/documentation/CoreGraphics/kCGDisplayBlendNormal), the fade operation is terminated immediately and the display is returned to normal.

In both cases, the reservation is actually released when the fade operation completes.

---

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)