When you scroll a tableView down (Notes.app), the search bar stays fixed to top, but when you scroll a tableView up, the search bar is hidden. That's what I want.
Looking at scroll indicator it appears that UISearchBar is a subview of a table's scroll view. But if I add a search bar to a tableView in Interface Builder, then it always scrolls attached to a tableView just like a regular row.