Contents

availablePhotoPixelFormatTypes

The pixel formats the capture output supports for photo capture.

Declaration

@property (nonatomic, readonly) NSArray<NSNumber *> * availablePhotoPixelFormatTypes;

Mentioned in

Discussion

To capture a photo in an uncompressed format, such as 420f, 420v, or BGRA, use the init(format:) initializer to create your photo settings object. In that initializer’s format dictionary, pass the key kCVPixelBufferPixelFormatTypeKey, whose value must be one of the pixel format identifiers listed in this array.

This property supports key-value observing.

See Also

Determining supported pixel formats