Search code examples
iphonexcodesearchwebviewuipickerview

Add a search function to UIPickerView in Xcode, or open <select> menu in UITableView


Is it possible to add a search bar to look up values in the UIPickerView generated by a <select> menu tag?

I have a UIWebView app that has <select> menus with 100+ <option> tags and the iPhone opens a UIPickerView, but it's kind of hard to choose an option, I thought a search bar would be the easiest way!

My original question with database details: iPhone scroll-wheel picker for <select> menus



EDIT: or is it possible to make the iPhone open <select> menus in a UITableView rather than UIPickerView????


Solution

  • Instead of filtering via the app, I decided to use this: http://www.lessanvaezi.com/filter-select-list-options/

    This way uses a text input to filter the results using jQuery.