UIDatePicker UIControlEventValueChanged event only fired on second selection for UIDatePickerModeCountDownTimer

Originator:russo.tim
Number:rdar://16048059 Date Originated:12-Feb-2014
Status:Open Resolved:
Product:iOS SDK Product Version:7.0.4 (11B554a)
Classification: Reproducible:Yes
 
Summary:
When using a UIDatePicker control with the mode UIDatePickerModeCountDownTimer, the event UIControlEventValueChanged is not called the first time the user selects a countdown duration, but is called all subsequent times.

Steps to Reproduce:
1. Install Xcode.
2. Create a new project using the iOS 7 SDK.
3. Add a UIDatePicker control to the view.
4. Set the mode of the UIDatePick to UIDatePickerModeCountDownTimer.
5. Setup a delegate for the UIControlEventValueChanged event.
6. Run the app through the simulator or an iOS device.
7. Scroll the UIDatePicker.
8. Observer that the delegate for UIControlEventValueChanged on the UIDatePicker is not called the first time it is scrolled.

Expected Results:
When the user sets the value on the UIDatePicker for the first time, it should fire the UIControlEventValueChanged event and call the appropriate delegate method.

Actual Results:
When the user sets the value on the UIDatePicker for the first time, it does NOT fire the UIControlEventValueChanged event and does NOT call the appropriate delegate method.

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!