Skip to main content

Questions tagged [uidatepicker]

The UIDatePicker is a class in the UIKit framework of iOS which represents an graphical object that uses multiple rotating wheels to allow users to select dates and times.

uidatepicker
0 votes
0 answers
28 views

How to disable Reachability swipe down when UIDatePicker show up

I have UIDatePicker with picker style .wheels It is annoying when users try to scroll the wheels and the app keeps swiping down. Is there any way to disable the Reachability swipe down when DatePicker ...
Daniel's user avatar
  • 355
0 votes
0 answers
61 views

Add 'dots' to UIDatePicker calendar to signify event on date?

I'm using the UIDatePicker calendar in my iOS app. When a user taps on a date (ie. Nov 21), it shows a list of all events happening on that date for the user inside a tableview. Having said that, ...
Brittany's user avatar
  • 1,419
1 vote
1 answer
101 views

iOS UIDatePicker - disable KEYPAD entry

I have a UIDatePicker displayed with a WHEEL mode, but when I click on a date, the keyboard comes up, letting me enter a date from KEYPAD. How to disable this ridiculous behavior (why would anyone ...
ekashking's user avatar
  • 418
0 votes
1 answer
190 views

Is there a clean way to use .inline UIDatePicker() to populate UITextField() contents?

Looking for some insight on this. If we for some reason still cannot use .inline style this way, I wonder what the cleanest option is for apps like mine that populate a text field based on ...
swiftsquirrel's user avatar
0 votes
1 answer
324 views

How to know if Inline Date picker is switch between Yearly and Weekly view in iOS using swift?

I am using UIDatePicker with inline style. A month-year action appears at top left. I want to know if this action is being clicked of Month-Year wheel is appears on the screen. Basically i want to ...
Muhammad Awais Jamil's user avatar
0 votes
0 answers
56 views

Cannot change the 24-hour/12-hour format for UIDatePicker on iOS 16.5.1

I was use the UIDatePicker on iOS with following snipe to show 24-hour format (override user's setting) and it works fine until iOS16.5.1 myDatePicker.locale = Locale(identifier: "en_GB")...
linh lê's user avatar
  • 122
-1 votes
1 answer
69 views

How to fetch dates(as weekly-monthly) from CoreData in swift?

i am trying to make a spending control application. However, I cannot pull storages from the dates registered by users on a weekly or monthly basis.Monthly and weekly extraction of user-selected and ...
yusuf kutlay's user avatar
2 votes
0 answers
43 views

UIDatePicker is not working on macOS Catalina

Here is the code for UIDatePicker: _datePicker = [[UIDatePicker alloc] init]; _datePicker.autoresizingMask = UIViewAutoresizingFlexibleWidth | UIViewAutoresizingFlexibleHeight; _datePicker....
jordy jonathan's user avatar
1 vote
1 answer
682 views

UIDatePicker not shows proper in IOS 16.2

I am using UIDatePicker to pick a date from the user. In devices below IOS 16, it works fine, but in IOS 16+ devices, the calendar cuts from the bottom. Below is my code, let datePickerView:...
Sagar Zala's user avatar
  • 5,086
-3 votes
2 answers
88 views

Can I detect month change on UIDatePicker?

I have a UIDatePicker with Inline style (showing as a calendar). I have an endpoint where I get the available dates for a month, so I would like to detect when the month that is showing is changed. I'...
Olav Gausaker's user avatar
0 votes
1 answer
207 views

Is there any way to auto date format using Keyboarddatepicker

We are using material ui Keyboarddatepicker, and we have set date format using props in react format=DD/MMM/YYYY so date will be set like "10/12/2020". It is working perfectly when we select ...
kush a's user avatar
  • 27
0 votes
0 answers
369 views

Unable to select future date from date picker view

I am unable to select future dates from the date picker view. I would like to be able to select only current and future dates, not past dates. { let cell = tableView.dequeueReusableCell(...
Nicolas's user avatar
  • 25
1 vote
2 answers
167 views

Truncation problem with Xamarin.Forms iOS inline UIDatePicker

The default iOS behaviour of a Xamarin.Forms DatePicker view is the iOS "Wheel" UIDatePicker. Btw this control is quite ugly and users complained because they wanted (as happening in ...
Stefano Losi's user avatar
0 votes
1 answer
100 views

UIDatePicker modal view show incorrect (last) month

My UIDatePicker (with style .compact) is set to Today by default, and always in timezone UTC. cell.datePicker.subviews[0].backgroundColor = nil cell.datePicker.backgroundColor = ....
benck's user avatar
  • 2,042
0 votes
0 answers
167 views

iOS UIDatePicker "Time" label locale / language not working

Is there any way to change the language/locale of the label with "Time" string on UIDatePicker? This is my date picker configuration: datePicker.locale = Locale(identifier: "de_DE")...
Leszek Szary's user avatar
  • 10.1k

15 30 50 per page
1
2 3 4 5
111