Shahid Aslam
Shahid Aslam

Reputation: 2585

UIDatePicker using mode as timer

I have a UIDatePicker on my view,I have set DatePicker in time mode. bydefault it is showing hours and minutes and i need minutes and seconds in that picker.

Guide me that how can i use UIDatepicker for min and sec not for hour and min.

thanks

Upvotes: 3

Views: 1684

Answers (1)

DenverCoder9
DenverCoder9

Reputation: 3705

There is no datePickerMode for minutes and seconds. You'd have to make your own using UIPickerView.

If you look at the Apple sample project UICatalog (search for it in the apple documentation) it has examples of custom pickers so you can see how to make you own.

Upvotes: 4

Related Questions