Empty space below navigation bar with displaysSearchBarInNavigationBar = YES
ios7, uinavigationbar, uisearchbar
Solution
For me the key was to set the option to enable "Under Opaque Bars" in the StoryBoard editor.
Problem
I've an issue with a search bar in a navigation bar using the property `displaysSearchBarInNavigationBar = YES`. I have an empty space between the navigation bar and the search content which is equals to the height of the navigation item + status bar. It's just as if during building the view, the framework doesn't know that my search bar is the navigation bar... This empty space appears before tipping anything, and when displaying the result tables. I haven't found anything related to this issue except this topic: Empty UISearchbar space when combining search bar with Nav bar in iOS7? I tried with search bar height equals to 0 as said, but it didn't work for me. Any idea please about this empty space ?