iOS Developer Library — Prerelease

Developer

UIKit User Interface Catalog

Date Picker

Date Picker Attributes Inspector Reference

image: ../Art/uidatepicker_attributes_inspector.pdf

Functionality

image: ../Art/uidatepicker_attributes_inspector_group-functionality.pdf

Mode

The functionality of the date picker.

The mode indicates whether the date picker is a date or time picker, or a count down timer.

Locale

The locale for the date picker.

Access: locale.

Interval

The interval at which the date picker displays minutes.

Access: minuteInterval.

Selection

1 minute

2 minutes

3 minutes

4 minutes

5 minutes

6 minutes

10 minutes

12 minutes

15 minutes

20 minutes

30 minutes

Date

image: ../Art/uidatepicker_attributes_inspector_group-date.pdf

These properties are unused when the date picker mode is count down timer.

Date

The date the date picker displays.

Access: date.

Constraints

Minimum Date

The earliest date the date picker displays.

Access: minimumDate.

Maximum Date

The latest date the date picker displays.

Access: maximumDate.

Count Down Timer

image: ../Art/uidatepicker_attributes_inspector_group-count_down_timer.pdf

Count Down in Seconds

The number of seconds from which the date picker counts down.

Access: countDownDuration.