<!--
{
  "availability" : [
    "macCatalyst: -",
    "macOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreGraphics",
  "identifier" : "/documentation/CoreGraphics/CGRefreshRate",
  "metadataVersion" : "0.1.0",
  "role" : "Type Alias",
  "symbol" : {
    "kind" : "Type Alias",
    "modules" : [
      "Core Graphics"
    ],
    "preciseIdentifier" : "c:@T@CGRefreshRate"
  },
  "title" : "CGRefreshRate"
}
-->

# CGRefreshRate

A display’s refresh rate in frames per second.

```
typealias CGRefreshRate = Double
```

## Discussion

When requesting a new display mode, you can specify a desired refresh rate as a hint to Quartz. For example, see the function [`CGDisplayBestModeForParametersAndRefreshRate(_:_:_:_:_:_:)`](/documentation/CoreGraphics/CGDisplayBestModeForParametersAndRefreshRate(_:_:_:_:_:_:)).

### Special Considerations

Most applications should never need this data type. Starting in OS X v10.6, the `CGDisplayBestMode` functions are deprecated and the new display mode API does not use this type.

---

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)