Category "uidatepicker"

UITapGestureRecognizer on UIDatePicker not working in iOS 15

I have a row for a user to select a date, and I'm using the UIDatePicker to do this. When a user taps on it, I want it to change some text on the row as well as

SwiftUI: how to create custom UIDatePicker?

I succeeded to create UIDatePicker inside SwifUI, but when I change the date wheel in picker the date value not update, here is my code: struct DatePicker: UIVi

Open UIDatePicker programmatically in iOS 14

I have this normal UIDatePicker (sorry that it's not in English, please ignore that): But the problem is that it only appears when I'm pressing the Date Picker

SwiftUI: DatePicker is it possible to display date/time in other timezone then current?

In UIDatePicker we can do something like this datePicker.timeZone = TimeZone(secondsFromGMT: 5*60*60) in order to specify timezone of datepicker. But how

How to set the correct height for a UIDatePicker?

How do I set the height of a datePicker correctly across the range of different iOS devices? I can get the width from the width of the window but not the height