Questions tagged uidatepicker

Explore the latest questions and answers asked by our top developers.

Changing font color of Date Picker with inline style

I need to change the text color of my .inline style Date Picker. A Google search led me to this post. This works perfectly on .wheels style, but doesn’t work on .inline: My code: class ViewController: UIViewController { @IBOutlet weak var datePicker: UIDatePicker! override func viewDidLoad() { super.viewDidLoad() datePicker.preferredDatePickerStyle = .inline self.datePicker.backgroundColor = .blue datePicker.setValue(UIColor.white, […]

By orihpt
Categorised as ios, ios14, swift, uidatepicker, uikit Tagged , , , ,

How to close a compact UIDatePicker popup when choosing a date?

I have this compact UIDatePicker that I want to close it’s popup once the user changes the date . I tried to look for an answer but I can’t find anyone talking about it. partial void value_changed(UIDatePicker sender) { } Source: Xamarin.ios Questions

By Taher El-hares
Categorised as Uncategorised Tagged , , , ,

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: And I wanted to know how to show the Date Picker like in the first image (that it’s covering all the screen with the blur effect) only […]

By TLG Codin
Categorised as ios14, swift, uidatepicker, uikit Tagged , , ,

How to make a UIDatePicker appear at bottom of screen?

I currently use MonoTouch with MonoTouch.Dialog. When tapping on a date field it pushes the navigationcontroller so you go right a screen to see your UIDatePicker where you choose the date then go “back” to the main screen again. I’d really like to have this UI like other apps I’ve used that when you select […]

By Neal
Categorised as Uncategorised Tagged , , ,

Still Have Questions?

Our dedicated development team is here for you!

We can help you find answers to your question for as low as 5$.

Contact Us