4

Possible Duplicate:
UIDatePicker select Month and Year

Is there a way to have a UIDatePicker show month and year only? By default it shows month, day year. I dont want the day to show. I saw this but i dont think its what i need: UIDatePicker select Month and Year.

Community
  • 1
  • 1
Troy Compton
  • 103
  • 2
  • 7
  • That link is the same question that your asking. – Keeano Sep 20 '11 at 22:48
  • That link I posted only selects the month and year and hard codes a day. when the datepicker appears the day will still show. I dont want that unless i'm missing something in the link which i probably am. – Troy Compton Sep 20 '11 at 23:01

2 Answers2

1

There is no API to do this. If you would like this feature to be available, please file a report requesting it.

Thus, if you need this in your application, you'll have to recreate it yourself using a UIPickerView.

Dave DeLong
  • 242,470
  • 58
  • 448
  • 498
-1

Implement your own UIPickerView.

Hot Licks
  • 47,103
  • 17
  • 93
  • 151