How do I make my iOS7 UITableViewController NOT appear under the top status bar?

前端 未结 13 2088
旧巷少年郎
旧巷少年郎 2020-12-13 14:04

My root controller is a TabBarController (tabbed application). One of the tabs, is a UITableViewController. When I switch to that and scroll through the items, they show up

13条回答
  •  无人及你
    2020-12-13 14:44

    As of iOS 8.4 I didn't get anywhere with the various storyboard options listed in other answers.

    I worked around this without resorting to any dimensional constants by putting a regular view in my tab controller, then filling that with a "Container View" which I then connected to my UITableViewController with an "embed" segue.

    My table now respects both my navigation bar and the tab bar at the bottom.

提交回复
热议问题