I have a button in my view with the UIDatePickerModeCountDownTimer. How do I actually get it to start counting down? Examples would be fantastic.
Asked
Active
Viewed 836 times
1 Answers
3
You can create a datasource for you minute-seconds picker. It has two Components: minute and seconds. You have to implement some methods in UIPickerViewDelegate and UIPickerViewDataSource Protocols.
Apple's sample code UICatalog.app is for your reference. You can find there is a sample for how to create a customized picker.

iAndroid
- 951
- 7
- 18
-
I'm having trouble figuring out how to create a data source. Also, within the sample code you provided, there is no button or way to start the countdown. Could you provide a more detailed explanation for how to create the datasource? I've got the required methods from UIPickerViewDelegate and UIPickerviewDataSource in my implementation. Thanks for the help you've provided so far. – Coltrane Jul 31 '12 at 22:19