Is it possible to put UISearchBar of UISearchController somewhere other than header view of UITableView?
In the apple's sample code for UISearchController, following is used.
[self.searchController.searchBar sizeToFit];
self.tableView.tableHeaderView = self.searchController.searchBar;
Is it possible to position searchBar somewhere else? Say we want to implement a fixed UISearchBar like the one used in contacts app. I've tried this but the searchBar doesn't appear at all.
SearchController
again for a manually managedUISearchBar
before reading your answer, thanks for saving me a bunch of time! – Champ