I have implemented a UISearchBar to search through a catalogue of items from an external API. The Search functionality works as expected, however the problem is that every t
I've made an open source project SearchTableView
self.searchController.searchBar.sizeToFit() self.tableHeaderView = self.searchController.searchBar searchTableView.layoutMargins = UIEdgeInsets.zero definesPresentationContext = true extendedLayoutIncludesOpaqueBars = true