If you use the following:
[_tableView setTableHeaderView:_searchBar]
When you view the table view behind the first row, the search bar should also disappear, and not stick to the top of the view.
Without seeing my code, I can only assume that perhaps you added the UISearchBar as the section heading, and not the table heading?
source share