Contents

maxPhotoDimensions

The maximum resolution of the photo to capture.

Declaration

var maxPhotoDimensions: CMVideoDimensions { get set }

Discussion

Setting a value specifies a maximum for the captured image. The dimensions must match one of the dimensions returned by capture device’s active format’s supportedMaxPhotoDimensions, and be equal to or smaller than the value of the photo outputs maxPhotoDimensions.

This property defaults to the smallest dimensions returned by supportedMaxPhotoDimensions.

See Also

Configuring photo settings