<p>My application has a need to let the user choose a date from a list of dates conforming to a certain pattern. For instance, they may need to choose a monday from a list Monday's for a month. Is there a way to get a <code>UIDatePicker</code> to limit date choices to a certain subset or should I just use a <code>UIPickerView</code>?</p>

[{'answer_id': 59152, 'author': 'millenomi', 'author_id': 6061, 'author_profile': 'https://Stackoverflow.com/users/6061', 'pm_score': 4, 'selected': True, 'text': '<p>You cannot limit which dates are selectable in a <code>UIDatePicker</code>. You could change the date when the value changed event is sent, but since the user cannot tell which dates are "good" and which are not, it\'s a bad UI choice to do so.</p>\n\n<p>Use a <code>UIPickerView</code> of your own making instead.</p>\n'}, {'answer_id': 16299518, 'author': 'Desdenova', 'author_id': 771231, 'author_profile': 'https://Stackoverflow.com/users/771231', 'pm_score': 0, 'selected': False, 'text': '<p><code>UIDatePicker</code> has <code>minimumDate</code> and <code>maximumDate</code> properties for this purpose. No need to use <code>UIPickerView</code> just for this reason.</p>\n'}]
['https://Stackoverflow.com/questions/56856', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/1967/']