countDownTimer UIDatePicker in compact style always return 0 for countDownDuration property in mac catalyst

Originator:gopalfriendsforever
Number:rdar://FB7743945 Date Originated:20 June 2020
Status:Open Resolved:No
Product:Mac Catalyst Product Version:above 10.15.4
Classification:Incorrect/Unexpected Behavior Reproducible:Always
 
1. Initialise a UIDatePicker.
2. Set its preferredDatePickerStyle to compact
3. Set datePickerMode to countDownTimer
4. Add it in view and run
5. Read the countDownDuration property of the date picker. It always returns 0 even after providing appropriate duration in the UI

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!