Contents

preferredContentSize

The hosting controller creates and updates constraints that represent its content’s ideal size. These constraints in turn influence the hosting controller’s preferredContentSize.

Declaration

static let preferredContentSize: NSHostingSizingOptions

Discussion

The constraints reflect the size that fits a proposal of .unspecified.

See Also

Geting sizing options