Swift - UIDatePicker limit the select days

581 Views Asked by At

I need to prevent the user to select a particular day in UIDatePicker. Maybe even remove the Wednesdays of UIDatePicker. Is there any way to make the user can not select Wednesdays?

1

There are 1 best solutions below

0
On BEST ANSWER

You can use UIPickerView and your own datasource. In datasource you can put any data what you want. Good example.