containerTraitCollection
The trait collection of the sheet’s container view.
Declaration
var containerTraitCollection: UITraitCollection { get }Discussion
The value of this property is the same as the window’s traitCollection, and doesn’t include overrides from the sheet’s overrideTraitCollection.