Post

Replies

Boosts

Views

Activity

Reply to How to disable keyboard input for UIDatePicker with preferredDatePickerStyle set to .wheels on iOS 15
Try this datePicker.addTarget(self, action: #selector(handleDatePickerTap), for: .editingDidBegin) ` @objc func handleDatePickerTap() {         datePicker.resignFirstResponder()     }
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Sep ’21