Contents

region

The region used by the locale.

Declaration

var region: Locale.Region?

Discussion

Set this property to override the region for region-related preferences, such as measuring system, calendar, and first day of the week. If unset, the locale uses the region of the language component.

This property corresponds to the rg key of the Unicode BCP 47 extension.

See Also

Specifying region components