Constants to specify the color gamut and format for image and video capture, used with the activeColorSpace property.


enum AVCaptureColorSpace : Int


By default, the AVCaptureSession class automatically enables wide-gamut capture for supported devices and capture workflows. For a list of devices supporting wide-gamut capture, see iOS Device Compatibility Reference.



case sRGB

The standard RGB color space.

case P3_D65

The digital cinema standard DCI-P3 color space with the CIE D65 standard white point.

See Also

Managing Color Spaces

var activeColorSpace: AVCaptureColorSpace

The currently active color space for capture.

Beta Software

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