---
title: qualityLevel
framework: vision
role: symbol
role_heading: Instance Property
path: vision/generateiterativesegmentationrequest/qualitylevel-swift.property
---

# qualityLevel

Controls the resolution of the produced mask.

## Declaration

```swift
final var qualityLevel: GenerateIterativeSegmentationRequest.QualityLevel { get set }
```

## Discussion

Discussion Higher resolutions will produce a smoother mask. Lower resolutions will be faster.
