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

# CGDisplayCurrentMode(_:)

Returns information about the current display mode.

```
func CGDisplayCurrentMode(_ display: CGDirectDisplayID) -> CFDictionary?
```

## Parameters

`display`

The identifier of the display to be accessed.

## Return Value

A display mode dictionary, or `NULL` if the display is invalid. The dictionary is owned by the system and you should not release it. The dictionary contains information about the current display mode. For a list of the properties in a display mode dictionary, see [Display Mode Standard Properties](/documentation/CoreGraphics/display-mode-standard-properties) and [Display Mode Optional Properties](/documentation/CoreGraphics/display-mode-optional-properties). For general information about using dictionaries, see <doc://com.apple.documentation/documentation/CoreFoundation/CFDictionary>.

## Discussion

This deprecated function returns a display mode dictionary. Starting in OS X v10.6, display mode dictionaries have been replaced by the `CGDisplayMode` opaque type. Whereas display mode dictionaries returned by `CGDisplayCurrentModes` are owned by the system and are not to be released, display mode opaque type references returned by `CGDisplayCopyDisplayMode` are owned by the caller and you must release them.

---

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)