Contents

availablePreviewPhotoPixelFormatTypes

An array of pixel format types compatible with the photo settings for delivery of preview-sized images.

Declaration

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

Discussion

To enable delivery of preview-sized images along with the main image captured by a photo output, set the previewPhotoFormat property using one of the kCVPixelBufferPixelFormatTypeKey values listed in this array.

The order of this array is such that the format requiring the least conversion is listed first.

See Also

Enabling preview and thumbnail delivery