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

# setMaxAnimationFrameRate(_:)

Sets the maximum frame rate for animating compositions.

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

## Parameters

`maxFPS`

A frame rate in frames per second. Pass `0.0` to specify no limit to the maximum value.

---

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)