Does anybody know an example code of a UISearchBar which appears in place of the UINavigationBar in response to a search button tap on the navigation bar?
I have seen it in the Advanced English Dictionary App. (saves the vertical space and does not scroll with the table). http://itunes.apple.com/de/app/advanced-english-dictionary/id293150206?mt=8
Actually I use a UISearchDisplayController. The UISearchBar is the header view of my table. Everything works fine (the UISearchDisplayController lets the UINavigationBar disappear when activated) but I would like to hide/display the SearchBar only when needed.
How to do it?