iOS Developer Library

Developer

AVFoundation Framework Reference AVFrameRateRange Class Reference

Options
Deployment Target:

On This Page
Language:

AVFrameRateRange

An AVFrameRateRange object expresses a range of valid frame rates as minimum and maximum rate and minimum and maximum duration.

An AVFrameRateRange object is immutable.

An AVCaptureDeviceFormat object wraps a CMFormatDescription and expresses a range of valid video frame rates as an array of AVFrameRateRange objects.

An AVCaptureDevice object uses AVCaptureDeviceFormat to describe the formats it supports and the currently-active format.

Inheritance


Conforms To


Import Statement


Swift

import AVFoundation

Objective-C

@import AVFoundation;

Availability


Available in iOS 7.0 and later.
  • The maximum frame duration supported by the range. (read-only)

    Declaration

    Swift

    var maxFrameDuration: CMTime { get }

    Objective-C

    @property(readonly) CMTime maxFrameDuration

    Discussion

    This value is the reciprocal of minFrameRate, and expresses the minimum frame rate as a duration.

    Import Statement

    Objective-C

    @import AVFoundation;

    Swift

    import AVFoundation

    Availability

    Available in iOS 7.0 and later.

  • The maximum frame rate supported by the range. (read-only)

    Declaration

    Swift

    var maxFrameRate: Float64 { get }

    Objective-C

    @property(readonly) Float64 maxFrameRate

    Discussion

    The frame is given in frames per second.

    Import Statement

    Objective-C

    @import AVFoundation;

    Swift

    import AVFoundation

    Availability

    Available in iOS 7.0 and later.

  • The minimum frame duration supported by the range. (read-only)

    Declaration

    Swift

    var minFrameDuration: CMTime { get }

    Objective-C

    @property(readonly) CMTime minFrameDuration

    Discussion

    This value is the reciprocal of maxFrameRate, and expresses the maximum frame rate as a duration.

    Import Statement

    Objective-C

    @import AVFoundation;

    Swift

    import AVFoundation

    Availability

    Available in iOS 7.0 and later.

  • The minimum frame rate supported by the range. (read-only)

    Declaration

    Swift

    var minFrameRate: Float64 { get }

    Objective-C

    @property(readonly) Float64 minFrameRate

    Discussion

    The frame is given in frames per second.

    Import Statement

    Objective-C

    @import AVFoundation;

    Swift

    import AVFoundation

    Availability

    Available in iOS 7.0 and later.