How to create a scope search using tableview and searchbarcontroller in swift3

前端 未结 1 1207
孤城傲影
孤城傲影 2021-01-24 08:15

Hello all have designed a scope search using tableview and serchbarcontroller. To achieve this have used below code but somehow its not returning me the actual output. Hoping fo

1条回答
  •  清酒与你
    2021-01-24 08:47

    Can you try it this way:

    1. Make an array of auto-completion text-field, one for each of the data source.
    2. Let these text-fields to be invisible at first.
    3. After you select values and click the search button, let the corresponding text-fields to be visible.

    Not sure if it will meet your requirement, please leave comments if you have any problem.

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