---
title: photoQualityPrioritization
framework: avfoundation
role: symbol
role_heading: Instance Property
path: avfoundation/avcapturephotosettings/photoqualityprioritization
---

# photoQualityPrioritization

A setting that indicates how to prioritize photo quality against speed of photo delivery.

## Declaration

```swift
var photoQualityPrioritization: AVCapturePhotoOutput.QualityPrioritization { get set }
```

## Discussion

Discussion AVCapturePhotoOutput applies a variety of techniques to improve photo quality, depending on the source device’s activeFormat. Some of these techniques — which include reducing noise, preserving detail in low light, and freezing motion — can take significant processing time before the system returns a photo to your delegate callback. This property allows you to specify your preferred quality versus speed of delivery. The default value of this property is AVCapturePhotoOutput.QualityPrioritization.balanced and indicates that speed and quality are of equal importance to you. When you need to prioritize speed at the expense of quality, use AVCapturePhotoOutput.QualityPrioritization.speed. Use AVCapturePhotoOutput.QualityPrioritization.quality to prioritize the best quality at the expense of speed.

## See Also

### Configuring photo settings

- [flashMode](avfoundation/avcapturephotosettings/flashmode.md)
- [isAutoRedEyeReductionEnabled](avfoundation/avcapturephotosettings/isautoredeyereductionenabled.md)
- [maxPhotoDimensions](avfoundation/avcapturephotosettings/maxphotodimensions.md)
- [isCameraCalibrationDataDeliveryEnabled](avfoundation/avcapturephotosettings/iscameracalibrationdatadeliveryenabled.md)
- [isAutoContentAwareDistortionCorrectionEnabled](avfoundation/avcapturephotosettings/isautocontentawaredistortioncorrectionenabled.md)
- [isAutoVirtualDeviceFusionEnabled](avfoundation/avcapturephotosettings/isautovirtualdevicefusionenabled.md)
- [virtualDeviceConstituentPhotoDeliveryEnabledDevices](avfoundation/avcapturephotosettings/virtualdeviceconstituentphotodeliveryenableddevices.md)
- [isDualCameraDualPhotoDeliveryEnabled](avfoundation/avcapturephotosettings/isdualcameradualphotodeliveryenabled.md)
- [isAutoDualCameraFusionEnabled](avfoundation/avcapturephotosettings/isautodualcamerafusionenabled.md)
- [isAutoStillImageStabilizationEnabled](avfoundation/avcapturephotosettings/isautostillimagestabilizationenabled.md)
- [isHighResolutionPhotoEnabled](avfoundation/avcapturephotosettings/ishighresolutionphotoenabled.md)
