I want to have a hidden datepicker and trigger a tap event on that UIControl when I tap another UIView.
@objc func editDateTime() {
self.datePicker.sendActions(for: .touchUpInside)
}
Whether datepicker is hidden or not, I am not seeing date picker opening up. Basically I am trying to show a custom UI instead of the standard rendering of date picker.