Search code examples
iosuitableviewuisearchdisplaycontrollerios7

iOS 7 - UITableViewController with search is under status bar


I have a UITableViewController with an imbedded UISearchDisplayController. In iOS 7 the search box is under the status bar. Is there a way in interface builder to offset the tableview so that the search bar is not covered by the status bar (and still use the UITableViewController and UISearchDisplayController setup)?


Solution

  • You would have to embed it in a UINavigationController, then in the navVC, simply uncheck the Shows Navigation Bar enter image description here