I use the same instance of UIDatePicker to set three different values. Two of them are dates, and the last is time (for example, 1:05).
My problem is related to using UIDatePicker when installing in UIDatePickerModeCountDownTimer mode. First, doc says that when set in this mode, the date property is ignored, and countDownDuration should be used to retrieve the value. In my case, after setting the collector to this mode, date not ignored , but countDownDuration is (= null)!
EDIT: the property is set correctly, I just registered it incorrectly (the %@ modifier was used instead of %f ); my next question remains though.
The worst part is that the date is set correctly, but unfortunately not when I select 0:00. During this time, the date is set to 0:01!
Any help? What am I missing?
source share