displayGamut
Swift declarationvar displayGamut: UIDisplayGamut { get set }protocol · iOS 17.0+ · SDK 27.1
protocol UIMutableTraitsvar displayGamut: UIDisplayGamut { get set }var displayScale: CGFloat { get set }var layoutDirection: UITraitEnvironmentLayoutDirection { get set }var listEnvironment: UIListEnvironment { get set }var activeAppearance: UIUserInterfaceActiveAppearance { get set }var legibilityWeight: UILegibilityWeight { get set }var imageDynamicRange: UIImage.DynamicRange { get set }var sceneCaptureState: UISceneCaptureState { get set }var verticalSizeClass: UIUserInterfaceSizeClass { get set }var headroomUsageLimit: UITraitHDRHeadroomUsageLimit.Value { get set }var userInterfaceIdiom: UIUserInterfaceIdiom { get set }var userInterfaceLevel: UIUserInterfaceLevel { get set }var userInterfaceStyle: UIUserInterfaceStyle { get set }var horizontalSizeClass: UIUserInterfaceSizeClass { get set }var typesettingLanguage: Locale.Language? { get set }var forceTouchCapability: UIForceTouchCapability { get set }var accessibilityContrast: UIAccessibilityContrast { get set }var tabAccessoryEnvironment: UITabAccessory.Environment { get set }var toolbarItemPresentationSize: UINSToolbarItemPresentationSize { get set }var preferredContentSizeCategory: UIContentSizeCategory { get set }var systemPrefersReducedResourceUsage: Bool { get set }var splitViewControllerLayoutEnvironment: UISplitViewController.LayoutEnvironment { get set }var resolvesNaturalAlignmentWithBaseWritingDirection: Bool { get set }23 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.
UIMutableTraits.tabAccessoryEnvironment
The iOS SDK compiler rejected this binding: cannot assign to property: 'o' is a 'let' constant
UIMutableTraits.userInterfaceIdiom
The iOS SDK compiler rejected this binding: cannot assign to property: 'o' is a 'let' constant
UIMutableTraits.userInterfaceStyle
The iOS SDK compiler rejected this binding: cannot assign to property: 'o' is a 'let' constant
UIMutableTraits.layoutDirection
The iOS SDK compiler rejected this binding: cannot assign to property: 'o' is a 'let' constant
UIMutableTraits.displayScale
The iOS SDK compiler rejected this binding: cannot assign to property: 'o' is a 'let' constant
UIMutableTraits.horizontalSizeClass
The iOS SDK compiler rejected this binding: cannot assign to property: 'o' is a 'let' constant
UIMutableTraits.verticalSizeClass
The iOS SDK compiler rejected this binding: cannot assign to property: 'o' is a 'let' constant
UIMutableTraits.forceTouchCapability
The iOS SDK compiler rejected this binding: cannot assign to property: 'o' is a 'let' constant
UIMutableTraits.preferredContentSizeCategory
The iOS SDK compiler rejected this binding: cannot assign to property: 'o' is a 'let' constant
UIMutableTraits.displayGamut
The iOS SDK compiler rejected this binding: cannot assign to property: 'o' is a 'let' constant
UIMutableTraits.accessibilityContrast
The iOS SDK compiler rejected this binding: cannot assign to property: 'o' is a 'let' constant
UIMutableTraits.userInterfaceLevel
The iOS SDK compiler rejected this binding: cannot assign to property: 'o' is a 'let' constant
UIMutableTraits.legibilityWeight
The iOS SDK compiler rejected this binding: cannot assign to property: 'o' is a 'let' constant
UIMutableTraits.activeAppearance
The iOS SDK compiler rejected this binding: cannot assign to property: 'o' is a 'let' constant
UIMutableTraits.toolbarItemPresentationSize
The iOS SDK compiler rejected this binding: cannot assign to property: 'o' is a 'let' constant
UIMutableTraits.imageDynamicRange
The iOS SDK compiler rejected this binding: cannot assign to property: 'o' is a 'let' constant
UIMutableTraits.sceneCaptureState
The iOS SDK compiler rejected this binding: cannot assign to property: 'o' is a 'let' constant
UIMutableTraits.typesettingLanguage
The iOS SDK compiler rejected this binding: cannot assign to property: 'o' is a 'let' constant
UIMutableTraits.resolvesNaturalAlignmentWithBaseWritingDirection
The iOS SDK compiler rejected this binding: cannot assign to property: 'o' is a 'let' constant
UIMutableTraits.systemPrefersReducedResourceUsage
The iOS SDK compiler rejected this binding: cannot assign to property: 'o' is a 'let' constant
UIMutableTraits.headroomUsageLimit
The iOS SDK compiler rejected this binding: cannot assign to property: 'o' is a 'let' constant
UIMutableTraits.splitViewControllerLayoutEnvironment
The iOS SDK compiler rejected this binding: cannot assign to property: 'o' is a 'let' constant
UIMutableTraits.listEnvironment
The iOS SDK compiler rejected this binding: cannot assign to property: 'o' is a 'let' constant