Skip to content

Type Method

subdivision(for:)

iOS 16.0+ iPadOS 16.0+ Mac Catalyst 16.0+ macOS 13.0+ tvOS 16.0+ watchOS 9.0+
Returns the subdivision representing the given region as a whole.
static func subdivision(for region: Locale.Region) -> Locale.Subdivision

Discussion

For example, returns a subdivision with the “uszzzz” identifier for the entire US region.