maxPhotoDimensions
The maximum resolution of the requested photo.
Declaration
var maxPhotoDimensions: CMVideoDimensions { get set }Discussion
Set a value for this property to request images up to the specified dimensions. Images that a photo output returns may be smaller than the dimensions, but are never be larger. Once set, you can request images with any valid maximum photo dimensions by setting maxPhotoDimensions on AVCapturePhotoSettings on a per photo basis.
The dimensions you set must match one returned by supportedMaxPhotoDimensions for the current active format.