Godfather
Godfather

Reputation: 4330

UIDatePicker just showing weekdays, days and months

I want a UIDatePicker just showing the day of the weeks and the days/months. I tried UIDatePickerMode.DateAndTime which shows the weekday but also the hours.

enter image description here

And UIDatePickerMode.Date which doesn't show the weekdays: enter image description here

I want like .Date but with Weekdays

Upvotes: 1

Views: 4432

Answers (3)

Jatin Patel - JP
Jatin Patel - JP

Reputation: 3733

You can achieved using customization. here are some links of sample code having customize picker. you can take reference of its.

Daydatepickerview

hsdatepickerviewcontroller

Hope this help you.

Upvotes: 1

Eugene Nguyen
Eugene Nguyen

Reputation: 274

this is exactly and even more than what you need :)

https://github.com/skywinder/ActionSheetPicker-3.0

Upvotes: 1

Leo
Leo

Reputation: 24714

It is not possible with UIDatePicker,you can do it with UIPickerView

Upvotes: 1

Related Questions