UISearchBar disappears after row selection in TableView search results

Does anyone know why my UISearchbar disappears after the user clicks on a cell in the search results table? What happens is that the user selects a cell after searching for something, which then opens a new view. However, when you go back to the original search view controller, the search bar will disappear and the top cell is under the top bar.

+3


source to share


1 answer


To solve this problem, I had to reject the search results table after pressing a key. Therefore, when the user returned to the previous view, the search results were rejected and the original table view appeared again.



0


source







All Articles