Skip to content

Instance Property

allowedUnits

iOS 16.0+ iPadOS 16.0+ Mac Catalyst 16.0+ macOS 13.0+ tvOS 16.0+ watchOS 9.0+
The units that may be included in the output string.
var allowedUnits: Set<Duration.UnitsFormatStyle.Unit>