I have a tableview with a navigation bar at the top. I’ve added text to the prompt property of the navigation bar. This cuts the top half of the first tableview cell. Is there a way to tell the tableview that the prompt is present or do I need to roll something custom?
Share
If you are using a navigation bar independent of UINavigationController, then you will need to roll your own custom solution. You may want to consider switching to using UINavigationController.
If you are using UINavigationController with UITableViewController, this should happen automatically for you. Even if you are using UIViewController with a UITableView as the view, this should still happen automatically for you – provided that you set the autoresizingMask of the tableView appropriately.