Gian
Gian

Reputation: 1213

Swift - UIDatePicker limit the select days

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?

Upvotes: 0

Views: 580

Answers (1)

user1502383
user1502383

Reputation: 325

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

Upvotes: 1

Related Questions