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.

The UIDatePicker class implements an object that uses multiple rotating wheels to allow users to select dates and times. On UIDatePicker, you can find the following methods:

Managing the Date and Calendar

  • calendar property
  • date property
  • locale property
  • setDate:animated:
  • timeZone property

Configuring the Date Picker Mode

  • datePickerMode property

Configuring Temporal Attributes

  • maximumDate property
  • minimumDate property
  • minuteInterval property
  • countDownDuration property
1661 questions
0
votes
2 answers

Disable a particular date in UIDatePicker

I was trying to set up a uidatepicker for booking some events in the calendar. I need to disable (hide) some particular dates in my UIDatePicker, for instance days when I'm out of town or on vacation. Can you help me with this one? Thanx a lot in…
0
votes
3 answers

Passing data into Container View using Embed Segue

So I've seen most of the tutorials (and am using the technique) to pass data from one view controller to the next when the segue is a push (in the prepareForSegue method). I can cast the destinationViewController to my custom class and push data…
Nick
  • 2,803
  • 1
  • 39
  • 59
0
votes
3 answers

Keep UIDatePicker from Scrolling with TableView

Seems like a really simple issue, but I haven't found a solution yet: I have an UIDatePicker that shows when a certain table view cell is selected. I display it with the following code: - (void)tableView:(UITableView *)tableView…
The Kraken
  • 3,158
  • 5
  • 30
  • 67
0
votes
1 answer

cannot dismiss uidatepicker using uitapgesturerecognizer

I want to take a date input using uidatepicker. I have changed the input view of my UITextField to a UIDatePicker object. The DatePicker is displaying, no problem. But then I added a UITapGestureRecognizer so that when the user taps outside the date…
Shuaib
  • 779
  • 2
  • 13
  • 47
0
votes
2 answers

Adjusting Code for Custom UIDatePicker

So i found this amazing code on here that pops up a UIDatePicker. (kudos to Matthias Bauch) I'd like to customize it with a custom picker wheel, but the code is at a complexity level that I'm not sure how to go about switching to a UIPicker and how…
mathewwl
  • 49
  • 7
0
votes
3 answers

UITextField inputView - Can the selected view reference the textfield?

If I have a set up like so: - (void)textFieldDidBeginEditing:(UITextField* )textField { if (textField.tag == 603) { datePicker = [[UIDatePicker alloc]init]; [datePicker setDatePickerMode:UIDatePickerModeDate]; …
PruitIgoe
  • 6,166
  • 16
  • 70
  • 137
0
votes
1 answer

How to check the date is modified in UIDatePicker or not?

I am using UIDatePicker to select a date. When loading the view date picker minimum date was set with current date, For my specification I need to know is there any modification done in UIDatePicker or not. if ([[date_picker minimumDate]…
Newbee
  • 3,231
  • 7
  • 42
  • 74
0
votes
1 answer

Jquery Validation Engine with datepicker not works on server, but works in local

I use Validation Engine in user register form. When enter Birthday I use date picker. Validation is binded to blur event. that is why when calendar opens and I select year, message appears. To fix this I used: @class = "validate[required] text-input…
0
votes
1 answer

Reset UITableViewCell from a UIDatePicker

I have a UITableViewController for searching and user can make a search by date , but I want to let it optional, my problem is that I don't know how to do to reset the UITableViewController after selecting a date, because the UIDatePicker will…
Alaeddine
  • 6,104
  • 3
  • 28
  • 45
0
votes
1 answer

Avoid "past"dates with UIDatePicker

I have a question about UIDatePicker. Is it possible to avoid to select past dates? I mean, select only day from today to the following days, avoiding to select the "past".
doxsi
  • 1,002
  • 19
  • 42
0
votes
2 answers

Custom UIPickerView and UIDatePicker, flatter design

I'm building a small iPhone iOS 6 app with a lot of custom design, and primarily using UIAppearance to apply custom styles. In the app I would like to use a UIPickerView and a UIPicker but the style of these elements don't fit into my app, it looks…
mhaddl
  • 885
  • 1
  • 9
  • 18
0
votes
1 answer

UIPopover with UIDatePicker throws exception in iOS5.1

I have an enterprise iPad app that runs on several iPads of different vintage. All work fine except for one which is the only 1st generation iPad in the group. This iPad is running iOS 5.1.1. The app uses a UIPopoverController in several places and…
0
votes
2 answers

How to get a date and time from a UIDatePicker and notify the user when that date has arrived?

I need to get a date and time from a UIDatePicker and fire a local notification when that date and time has arrived. How would I go about doing this? Thanks!
Evan
  • 337
  • 1
  • 5
  • 17
0
votes
2 answers

Event startdate and alarmtime from datepicker

I will add an event to the calendar. My code is correct but I need the date and the time from Datepicker. How to set date and time from the datepicker for the following code: EKEventStore *es = [[EKEventStore alloc] init]; [es…
0
votes
1 answer

Default date with formatDate format

I can't figure this out from the documentation, but I want to set the default date of a datepicker input in the same format as the datepicker's display without having to do my own parsing. E.g.: $("#dp").datepicker({ altField: '#helper', …
Explosion Pills
  • 188,624
  • 52
  • 326
  • 405
1 2 3
99
100