When I use UISearchBar as UITableView tableHeaderView, when scrolling up the first time, navigation bar will hide immediately instead of fading out. It won't happen next times I scroll up. I used the latest code.
My temporary fix is hiding the search bar first by setting the table view content offset:
When I use UISearchBar as UITableView
tableHeaderView
, when scrolling up the first time, navigation bar will hide immediately instead of fading out. It won't happen next times I scroll up. I used the latest code.My temporary fix is hiding the search bar first by setting the table view content offset: