Dave Dave - 1 year ago 104
Objective-C Question

UIDatePicker select Month and Year

I need a

for selecting Month and Year only. I checked the class reference documents. Looks like
is a
. I imagined
may be a sub view and I can hide the component if I can grab it. But no. That was not possible. Do I have to create my own custom picker then? Any ideas?


Yeah, you probably want to just make your own picker. You don't have to subclass it or anything, though; just use a generic UIPickerView and return appropriate values from your UIPickerViewDelegate/UIPickerViewDataSource methods.