Reputation: 2468
I'd like to limit the range of the hours shown in the UIDatePicker in UIDatePickerModeCountDownTimer mode from the current range of 0 - 23 to 0-6.
Is this feasible or do I have to roll out my own UIPicker control?
Upvotes: 1
Views: 2133
Reputation: 89569
Check out UIDatePicker's countDownDuration
property.
I believe you can set the maximum value of the countdown there. I'd recommend 6 * 60 * 60 (six hours * sixty minutes * sixty seconds).
Upvotes: 3