<!--
{
  "availability" : [
    "iOS: 6.0.0 -",
    "iPadOS: 6.0.0 -",
    "macCatalyst: 13.1.0 -",
    "tvOS: -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UILayoutPriority/fittingSizeLevel",
  "metadataVersion" : "0.1.0",
  "role" : "Type Property",
  "symbol" : {
    "kind" : "Type Property",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:@UILayoutPriorityFittingSizeLevel"
  },
  "title" : "fittingSizeLevel"
}
-->

# fittingSizeLevel

The priority level with which the view wants to conform to the target size in that computation.

```
static var fittingSizeLevel: UILayoutPriority { get }
```

## Discussion

When you send a [`systemLayoutSizeFitting(_:)`](/documentation/UIKit/UIView/systemLayoutSizeFitting(_:)) message to a view, the size fitting most closely to the target size is computed. This priority is quite low. It’s generally not appropriate to make a constraint at exactly this priority. You want to be higher or lower.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)