UIDatePicker in UIDatePickerModeCountDownTimer mode: how to get/set the hours and minutes via code?
- by R31n4ld0
Hello, guys.
How to get/set the hours and minutes via code from a UIDatePicker in UIDatePickerModeCountDownTimer mode?
The situation:
I have an interface in that a user selects just hours and minutes. Then, he saves the information (so, I have to get the hours and minutes from UIDatePicker via code to save in a DB).
When the user is editing the information saved previously, I want to start the interface with the saved hours/minutes (so, I have to set the UIDatePicker hours and minutes retrieved from DB via code).
How do I do that with the UIDatePiker in UIDatePickerModeCountDownTimer mode?
Thanks in advance.