Trigger a manually search using UISearchController

Hi guys,

i’ve a table with UISearchController and the user use it to search something in DB. but I would like to show in the same table recent research done. let me explain: when the user make a search, that word be saved in db, making a history. I would like to show that list and let to user to tap on word and make start the search.

how can I do it?

@rufy Thanks very much for your question, and I apologize for the delayed response!

I must admit, this is actually a very interesting question you posed :slight_smile:

I did some searching and I found the following potentials solutions to your question on StackOverflow:

Solution 1

Solution 2

I hope these help!

All the best!