---
title: preferredFrameLatency
framework: quartzcore
role: symbol
role_heading: Instance Property
path: quartzcore/cametaldisplaylink/preferredframelatency
---

# preferredFrameLatency

The amount of time, in frames, your app requests to render a frame.

## Declaration

```swift
var preferredFrameLatency: Float { get set }
```

## Discussion

Discussion The final latency may be bigger if the system needs more time, such as for windowed modes on macOS. important: The only acceptable values are 1.0 and 2.0.

## See Also

### Configuring a Display Link

- [preferredFrameRateRange](quartzcore/cametaldisplaylink/preferredframeraterange.md)
- [delegate](quartzcore/cametaldisplaylink/delegate.md)
