Type Property


A notification that indicates that the user’s locale changed.


class let currentLocaleDidChangeNotification: NSNotification.Name


Register for this notification if your app displays content (dates, times, numbers, and so on) that is affected by the locale. Use the notification to trigger updates to your app's interface.

See Also

Getting the User's Locale

class var autoupdatingCurrent: Locale

A locale which tracks the user’s current preferences.

class var current: Locale

A locale representing the user's region settings at the time the property is read.

class var system: Locale

A locale representing the generic root values with little localization.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software