Constantin Saulenco
Constantin Saulenco

Reputation: 2383

Change DateTimePicker time increments from 1 to 5 minutes

How can I change the the minute time increment on UIDatePicker from 1 to 5 minutes?

I notice that simply double-tapping on any of the dates or times in the scroll wheel change it from 1 minute to 5 minute increments.How can I achieve this programatically.

Upvotes: 2

Views: 1410

Answers (1)

rounak
rounak

Reputation: 9397

UIDatePicker has a minuteInterval. Default is 1, set it to 5.

Upvotes: 7

Related Questions