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)?
self.edgesForExtendedLayout=UIRectEdgeNone;
should fix this issue.
You would have to embed it in a UINavigationController
, then in the navVC
, simply uncheck the Shows Navigation Bar
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With