I have a DatePicker in View not Viewcontroller.
The solution in stack overflow works fine, if the DatePicker is in ViewController.
(https://stackoverflow.com/questions/67109078/close-uidatepicker-after-selection-when-style-is-compact)
I want to close DatePIcker after selecting a date.
Thank you.
Topic:
UI Frameworks
SubTopic:
UIKit