iOS autocomplete feature

后端 未结 2 1360
终归单人心
终归单人心 2021-02-06 09:03

What most people mean by autocomplete is that the app has a textview/searchbar/whatever which accepts user input. Attached to this component is a tableview which keeps updating

相关标签:
2条回答
  • 2021-02-06 09:28

    Alternatively, you can use this UITextField subclass (inspired by DOAutocompleteTextField):

    https://github.com/hoteltonight/HTAutocompleteTextField

    It's got a few more features and is actively developed. The example shows you how to use an array as the data source for the autosuggest text.

    0 讨论(0)
  • 2021-02-06 09:37

    I haven't tried it but here's a control that appears to do what you're asking for:

    http://cocoacontrols.com/platforms/ios/controls/doautocompletetextfield

    0 讨论(0)
提交回复
热议问题