The currently active maximum frame duration
- iOS 7.0+
- macOS 10.9+
- Mac Catalyst 13.0+
A device’s maximum frame duration is the reciprocal of its minimum frame rate. You can set the value of this property to limit the minimum frame rate during a capture session. The capture device automatically chooses a default maximum frame duration based on its active format. After changing the value of this property, you can return to the default maximum frame duration by setting this property’s value to
k. Choosing a new preset for the capture session also resets this property to its default value.
Before changing the value of this property, you must call
lock to acquire exclusive access to the device’s configuration properties. Otherwise, setting the value of this property raises an exception. When you are done configuring the device, call
unlock to release the lock and allow other devices to configure the settings.
You can observe changes to the value of this property using Key-value observing.