I'm using UISearchBar , UISearchController and UISearchResultsController and can't figure out, how to stop UISearchBar from Scrolling with UITableview in iOS 8
Didn't find the answer that works.
Please see Benjamin's excellent response here: https://stackoverflow.com/a/27129481/1505096
In short: Use a UIViewController with an embedded UITableView, not a UITableViewController. The former gives you the flexibility to do whatever you want with the table view, including the oft-requested behavior you are seeking, while in the latter the view itself is a table view, so you're much more limited in what you can do outside of the normal design paradigm.
Playing with UIScrollViewDelegate and adjusting frames therein--as I've seen in many SO responses--is a hack, and you don't need to resort to that chicanery.