---
title: sizingOptions
framework: swiftui
role: symbol
role_heading: Instance Property
path: swiftui/uihostingcontroller/sizingoptions
---

# sizingOptions

The options for how the hosting controller tracks changes to the size of its SwiftUI content.

## Declaration

```swift
@MainActor @preconcurrency var sizingOptions: UIHostingControllerSizingOptions { get set }
```

## Discussion

Discussion The default value is the empty set.

## See Also

### Managing the size

- [preferredContentSizeDidChange(forChildContentContainer:)](swiftui/uihostingcontroller/preferredcontentsizedidchange(forchildcontentcontainer:).md)
- [sizeThatFits(in:)](swiftui/uihostingcontroller/sizethatfits(in:).md)
- [safeAreaRegions](swiftui/uihostingcontroller/safearearegions.md)
