UIDatePicker UIControlEventValueChanged event only fired on second selection for UIDatePickerModeCountDownTimer

Originator:JAltreuter
Number:rdar://16341977 Date Originated:3/17/2014
Status:Open Resolved:
Product:iOS SDK Product Version:7.1
Classification: Reproducible:Every Time
 
Summary:
When using a UIDatePicker control with the mode UIDatePickerModeCountDownTimer, the event UIControlEventValueChanged does not fire the first time the duration changes.  The second and all subsequent times the duration changes, the event does fire.

Steps to Reproduce:
1. Create a new project using the iOS 7.1 SDK
2. Have a view controller with a UIDatePicker whose mode is UIDatePickerModeCountDownTimer
3. Setup a delegate for the UIControlEventValueChanged event
4. Run the app on an iOS device running iOS 7.1
5. Tap or swipe *exactly once* to scroll the UIDatePicker
6. Observe that the delegate for UIControlEventValueChanged is not called

Expected Results:
When the user changes the value of the UIDatePicker, the UIControlEventValueChanged event should fire.

Actual Results:
The first time the UIDatePicker's value is changed, the UIControlEventValueChanged event does not fire

Version:
iOS SDK 7.1, iOS 7.1

Notes:


Configuration:
Occurs on:
XCode Version Version 5.1 (5B130a)
Base SDK iOS 7.1
iPhone 5 Model A1429, iOS 7.1

Duplicates

Number Status Originator Product Title
rdar://33614458 Duplicate/16341977 battis iOS + SDK UIDatePicker .countDownTimer only sends actions on SECOND value change

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!