Sets the date to display in the date picker, with an option to animate the setting.
- iOS 2.0+
- Mac Catalyst 13.0+
NSDateobject representing the new date to display in the date picker.
trueto animate the setting of the new date, otherwise
false. The animation rotates the wheels until the new date and time is shown under the highlight rectangle.