Instance Property

locale

The locale used by the date picker.

Declaration

@property(nonatomic, strong) NSLocale *locale;

Discussion

The default value is the current locale as returned by the currentLocale 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

calendar

The calendar to use for the date picker.

date

The date displayed by the date picker.

- setDate:animated:

Sets the date to display in the date picker, with an option to animate the setting.

timeZone

The time zone reflected in the date displayed by the date picker.