In iPhone App as we are displaying Toolbar with textField by:
[textField setInputAccessoryView:myToolBar]
can we do the same thing with pickerView?
if i use
[myPickerView setInputAccessoryView:myToolBar]
It is giving warning “pickerview may not respond to setinputAccessoryview”
what should I do ?
Please Help and Suggest
Thanks.
It’s because there is no such
setInputAccessoryViewfunction inUIPickerView. classIf you are looking for using UIToolbar with UIPickerView See below ..
UITextView and UIPickerView with its own UIToolbar