Instance Property

datePickerMode

The mode of the date picker.

Declaration

@property(nonatomic) UIDatePickerMode datePickerMode;

Discussion

Use this property to change the type of information displayed by the date picker. It determines whether the date picker allows selection of a date, a time, both date and time, or a countdown time. The default mode is UIDatePickerModeDateAndTime. See UIDatePickerMode for a list of mode constants.