A set of media format and capture settings (such as video resolution and frame rate) that you use to configure a capture device.
- iOS 7.0+
- macOS 10.7+
- UIKit for Mac 13.0+Beta
AVCaptureDevice.Format object provides information about a media capture format for use with an
AVCaptureDevice instance, such as video frame rates and zoom factors.
You can find more information about a capture format using its associated Core Media format description (see
CMFormatDescription), available using the
formatDescription property. Instances of this class are immutable.
Determining Supported Media Formats
Examining Focus and Exposure Attributes
var minISO: Float
A floating point number indicating the minimum supported exposure ISO value.
var maxISO: Float
A floating point number indicating the maximum supported exposure ISO value.
Examining Zoom Attributes
Examining Video Capture Attributes
AVFrameRateRange object expresses a range of valid frame rates as minimum and maximum rate and minimum and maximum duration.
Examining Depth Capture Attributes
Exploring Supported Color Spaces
This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.Learn more about using Apple's beta software