<!--
{
  "availability" : [
    "macOS: 10.4.0 - 10.15.0"
  ],
  "documentType" : "symbol",
  "framework" : "Quartz",
  "identifier" : "/documentation/Quartz/QCView/setMaxRenderingFrameRate(_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "Quartz"
    ],
    "preciseIdentifier" : "c:objc(cs)QCView(im)setMaxRenderingFrameRate:"
  },
  "title" : "setMaxRenderingFrameRate(_:)"
}
-->

# setMaxRenderingFrameRate(_:)

Sets the maximum rendering frame rate.

```
func setMaxRenderingFrameRate(_ maxFPS: Float)
```

## Parameters

`maxFPS`

The frame rate to set. Pass `0.0` to specify that there is no limit.

---

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)