Search code examples
iphoneuinavigationbaruisearchbaruisearchdisplaycontroller

UISearchBar with hidden UINavigationBar


I have the search bar in the top of the table and the hidden navigation bar. Along with UISearchBar I use UISearchDisplayController. UISearchDisplayController has the possibility to bring forward the navigation bar. So, when I tap the cancel button in the search bar, the navigation bar fly's down. How can I dismiss this possibility, so the navigation bar will always be hidden?

Thanks


Solution

  • Finnaly!!!! I've found the solution IPHONE: ABPeoplePickerNavigationController hidden navigation bar