How to implement keywords associated function in swift?

后端 未结 2 1981
清歌不尽
清歌不尽 2021-01-29 14:44

For example, when I input several letters, the corresponding words will show up automatically and then I can select them. But how to implement this kind of function? Wh

2条回答
  •  悲&欢浪女
    2021-01-29 14:59

    If you're working with a table view similar to your screen shot, you can use a UISearchController. Here's a tutorial about it.

提交回复
热议问题