Objective C implementing a UIPickerView with a “Done” button
The easiest way to do it is to model it in Interface Builder. It is a UIView containing a UIToolbar and a UIPickerView. Then create an outlet for the UIView and connect it. If you then have a UITextField you can assign your custom view to its inputView property. [self.textField setInputView:self.customPicker]; Alternatively you can add … Read more