A locale representing the user's region settings at the time the property is read.
- iOS 2.0+
- macOS 10.4+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
The locale is formed from the settings for the current user’s chosen system locale overlaid with any custom settings the user has specified.
Use this property when you need to rely on a consistent locale. A locale instance obtained this way does not change even when the user changes region settings. If you want a locale instance that always reflects the current configuration, use the one provided by the
autoupdating property instead.
To receive notification of locale changes, add your object as an observer of the a