Type Property

currentLocaleDidChangeNotification

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

Declaration

class let currentLocaleDidChangeNotification: NSNotification.Name

Discussion

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.