Contents

locale

The locale used by the date picker.

Declaration

var locale: Locale? { get set }

Discussion

The default value is the current locale as returned by the current property of NSLocale, or the locale used by the date picker’s calendar. Locales encapsulate information about facets of a language or culture, such as the way dates are formatted.

See Also

Managing the date and calendar