问题
I am trying to create an app which has a simple root view controller with a textfield and a button. I want to create a custom table view based on the input of the user in the text field.
Imagine this : An App that shows you a list of bikes based on the search input in the text field. Say the user inputs : "Blue Bike" in the text field, the next view will be the one with a table view controller showing all the cells that have Blue or Bike as words in the title.
Please guide.
回答1:
Have you gone through this !? UISearchDisplayController
来源:https://stackoverflow.com/questions/18074366/how-to-generate-custom-table-view-based-on-textfield-input